|
Re: Periodic Tasks Vi
Timed-delayed tasks have to be in Periodic Tasks, because delaying Teleop will lose diver control for that amount of time (while the robot runs amuck) or will trip a shutdown of your 2-motor/4-motor drive.
If you want to handle time delays in Teleop you'd need to devise a State Machine that just checks every 50Hz loop, if the time to delay has passed.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
|