|
Re: Timing Motor Functions in Teleop
Two common methods:
1) In Teleop, set a time and keep checking to see if it's expired. (is it done yet?...Is it done yet?...)
2) In Periodic Tasks, just set a timer.
Some other examples are found here.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 26-01-2014 at 12:04.
|