Log in

View Full Version : RobotTemplate Modes


nikRbokRz
18-02-2010, 17:10
Hi,

In the RobotTemplate file in one of the default FRC programs, there are a number of "modes":
disabledInit
disabledPeriodic
autonomousInit
autonomousPeriodic
teleopInit
teleopPeriod

Does anyone know in which order these occur?

Is it disabled, then autonomous? Or the other way around?

Thanks!

Patrick Chiang
18-02-2010, 17:20
The robot ALWAYS starts at disabled. In the competition, it then goes to autonomous, then teleop, but you can dictate that by changing the mode in the dashboard when you practice.

In the competition, the order goes:
RobotInit
DisabledInit
DisabledPeriodic/DisabledContinuous
AutonomousInit
AutonomousPeriodic/AutonomousContinuous
TeleopInit
TeleopPeriodic/TeleopContinuous

nikRbokRz
18-02-2010, 17:27
Thanks for the information.

That's what we assumed, but we just wanted to clarify.