View Single Post
  #10   Spotlight this post!  
Unread 13-02-2014, 20:55
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Using Coniditionals to Build Custom Command Groups

Quote:
Originally Posted by irvingc View Post
Have you tested your full autonomous sequence to be working using this Conditional command? My experience is that this pattern (a Command that instantiates and then .start()s another Command) does not work as intended.
We haven't had a chance to thoroughly test it, but initial tests seem successful. The key aspect of this implementation is that it does not just start the Command, but also waits for the Command to finish. There may be an issue with the internal Command killing the CommandGroup it is called from because they each require() the same Subsystem. I will see what I can do to mitigate that.
__________________
I code stuff.
Reply With Quote