public class IterativeRobot extends RobotBase
m_ds, ROBOT_TASK_PRIORITY| Constructor and Description |
|---|
IterativeRobot()
Constructor for RobotIterativeBase
The constructor initializes the instance variables for the robot to
indicate the status of initialization for disabled, autonomous, and teleop
code.
|
| Modifier and Type | Method and Description |
|---|---|
void |
autonomousInit()
Initialization code for autonomous mode should go here.
|
void |
autonomousPeriodic()
Periodic code for autonomous mode should go here.
|
void |
disabledInit()
Initialization code for disabled mode should go here.
|
void |
disabledPeriodic()
Periodic code for disabled mode should go here.
|
void |
robotInit()
Robot-wide initialization code should go here.
|
void |
startCompetition()
Provide an alternate "main loop" via startCompetition().
|
void |
teleopInit()
Initialization code for teleop mode should go here.
|
void |
teleopPeriodic()
Periodic code for teleop mode should go here.
|
void |
testInit()
Initialization code for test mode should go here.
|
void |
testPeriodic()
Periodic code for test mode should go here
Users should override this method for code which will be called
periodically at a regular rate while the robot is in test mode.
|
free, getBooleanProperty, initializeHardwareConfiguration, isAutonomous, isDisabled, isEnabled, isNewDataAvailable, isOperatorControl, isReal, isSimulation, isTest, mainpublic IterativeRobot()
public void startCompetition()
startCompetition in class RobotBasepublic void robotInit()
public void disabledInit()
public void autonomousInit()
public void teleopInit()
public void testInit()
public void disabledPeriodic()
public void autonomousPeriodic()
public void teleopPeriodic()
public void testPeriodic()