public class Robot
extends TimedRobot
Constructor and Description |
---|
Robot() |
Modifier and Type | Method and Description |
---|---|
void |
autonomousInit()
This autonomous (along with the chooser code above) shows how to select
between different autonomous modes using the dashboard.
|
void |
autonomousPeriodic()
This function is called periodically during autonomous.
|
void |
disabledInit()
This function is called once each time the robot enters Disabled mode.
|
void |
disabledPeriodic() |
void |
robotInit()
This function is run when the robot is first started up and should be
used for any initialization code.
|
void |
robotPeriodic()
This function is called every robot packet, no matter the mode.
|
void |
teleopInit() |
void |
teleopPeriodic()
This function is called periodically during operator control.
|
void |
testPeriodic()
This function is called periodically during test mode.
|
public static OI m_oi
public void robotInit()
public void robotPeriodic()
This runs after the mode specific periodic functions, but before LiveWindow and SmartDashboard integrated updating.
public void disabledInit()
public void disabledPeriodic()
public void autonomousInit()
You can add additional auto modes by adding additional commands to the chooser code above (like the commented example) or additional comparisons to the switch structure below with additional strings & commands.
public void autonomousPeriodic()
public void teleopInit()
public void teleopPeriodic()
public void testPeriodic()