|
Re: Teleop move motor forward and backwards timed
Looks good.
The last 500 ms Timer isn't necessary. There's nothing to wait for by that point. It'll just prevent the button from working again right away.
Periodic Tasks runs all the time. While Teleop is running, while Disabled even (but the motor outputs are what get disabled, so you won't see any motor move).
Don't try to use cimtest anywhere else now, since it's always going to be in use waiting for that button press.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 17-01-2014 at 18:21.
|