edu.wpi.first.wpilibj

## Class IterativeRobot

- java.lang.Object
- - edu.wpi.first.wpilibj.RobotBase
  - - edu.wpi.first.wpilibj.IterativeRobotBase
    - - edu.wpi.first.wpilibj.IterativeRobot

-     public class IterativeRobot
      extends IterativeRobotBase

  IterativeRobot implements the IterativeRobotBase robot program framework.

  The IterativeRobot class is intended to be subclassed by a user creating a robot program.

  periodic() functions from the base class are called each time a new packet is received from the driver station.

- - ### Field Summary

    - ### Fields inherited from class edu.wpi.first.wpilibj.RobotBase

      `m_ds, MAIN_THREAD_ID, ROBOT_TASK_PRIORITY`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `IterativeRobot()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `startCompetition()` Provide an alternate "main loop" via startCompetition().

    - ### Methods inherited from class edu.wpi.first.wpilibj.IterativeRobotBase

      `autonomousInit, autonomousPeriodic, disabledInit, disabledPeriodic, loopFunc, robotInit, robotPeriodic, teleopInit, teleopPeriodic, testInit, testPeriodic`

    - ### Methods inherited from class edu.wpi.first.wpilibj.RobotBase

      `free, getBooleanProperty, initializeHardwareConfiguration, isAutonomous, isDisabled, isEnabled, isNewDataAvailable, isOperatorControl, isReal, isSimulation, isTest, main`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### IterativeRobot

          public IterativeRobot()

  - ### Method Detail

    - #### startCompetition

          public void startCompetition()

      Provide an alternate "main loop" via startCompetition().
      Specified by:
        `startCompetition` in class `IterativeRobotBase`