| notmattlythgoe |
16-11-2015 12:00 |
Re: Java Conditional Command
Quote:
Originally Posted by SamCarlberg
(Post 1505603)
If you just want a rising/falling edge trigger, you could just poll the isFinished() method of the previous command, though that would break the CommandGroup paradigm a little
|
I've written one off wait for specific value commands that basically do the same thing the initial thread was started about. Things like having the robot move at a certain speed and when it reaches certain distances fire off certain commands. Think 7 disc auto in 2013. Never needed to stop, but as you reached the certain distances you could activate a certain chain of events.
What is the CommandGroup paradigm for doing down a different command path based on a decision from a previous step? Think hot goals in 2014.
|