View Single Post
  #1   Spotlight this post!  
Unread 03-09-2010, 12:02 AM
csshakka csshakka is offline
Registered User
FRC #0818
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Warren, MI
Posts: 21
csshakka is an unknown quantity at this point
Send a message via AIM to csshakka Send a message via MSN to csshakka
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.
Reply With Quote