View Single Post
  #8   Spotlight this post!  
Unread 23-02-2013, 14:28
Fifthparallel Fifthparallel is offline
Registered User
AKA: Sam Chen
FRC #1410
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Denver, CO
Posts: 65
Fifthparallel is an unknown quantity at this point
Re: Command-Based robot button toggle question

So then would the OP be able to use a Command, but not a CommandGroup, and inside the Initialize() method get the state of whatever subsystem and run other commands from inside the Execute or Initialize methods?

Sorry, I did not look carefully and did not realize all of these happened in the constructor (I have been passing in values to command's constructors to have them do two different things during runtime, although all of that logic was in the subsystem's functions, not the command.)
__________________
sudo chmod u+x helloworld.sh
gotta start somewhere.
Reply With Quote