|
Iterative Robot Template
This may be a really dumb question that i overlooked the answer to, but should the drive controls in teleop mode go under the teleopContinuous() function or the teleopPeriodic() function. For simplifying purposes, lets say it would be for a standard tank drive robot with a left and right joystick controlling its movement. I guess my main question is where to code most of the controls and how often the periodic function actually is called.
Thanks in advance for help.
EDIT: Also what types of things would go in the disabled functions. Im assuming it would be things like motors to zero power and things like that.
Last edited by csshakka : 03-09-2010 at 12:04 AM.
|