|
Re: Timed While loop within Teleop
Use a state machine instead.
The Safety vi defaults to .1sec, so delaying for .125sec will trigger it.
If you feed the Drive motors the same value (-0.8) at a faster rate than .1 sec, then it won't trip.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 14-02-2012 at 23:40.
|