|
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.
|