|
Re: So apparently flat sequence structures don't work well in Teleop.
Here's a similar example that runs in Periodic Tasks: http://www.team358.org/files/program...tofTimedAction
The tie-in of waiting on a button release for the 3rd action step would require another While Loop inside the 3rd sequence frame that keeps checking for button=False, before completing.
Something like this, where it waits 1000ms and for button 2 to be False (either one finishes first it waits for the other to complete):
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : Yesterday at 13:30.
|