|
Re: team update #9 "Autonomous - Disabled" - what?
The are two modes: Autonomous and Teleop. During each of the modes, the robot can be either Enabled or Disabled. This leads to four states:
Autonomous/Disabled
Autonomous/Enabled
Teleop/Disabled
Teleop/Enabled
IterativeRobot will call the DisabledContinuous and DisabledPeriodic functions whenever the robot is in a disabled state, regardless whether it is in Autonomous or Teleop. The others are called only when the robot is Enabled. You should read your switches in one of the Disabled routines, as they will not be available to read in Autonomous/Enabled.
__________________
GUS Robotics Team 228
2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
|