|
Re: old robot kicker question
A flat sequence is okay, but it goes in Periodic Tasks, not Teleop.
Teleop needs to remain streamlined, quick and simple, to keep up the 50Hz loop rate.
I wouldn't recommend putting much more than the basic drive train in there, unless it's direct joystick control of something.
Periodic Tasks is made for timed, sensor triggered, and sequenced events.
Tasks within it are also shared with both Autonomous and Teleop, although I imagine Auto isn't of much concern to you with an old robot.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 21-03-2011 at 10:07.
|