Robot

public class Robot extends LoggedRobot

The VM is configured to automatically run this class, and to call the functions corresponding to each mode, as described in the TimedRobot documentation. If you change the name of this class or the package after creating this project, you must also update the build.gradle file in the project.

Constructors

Link copied to clipboard
public void Robot()

Functions

Link copied to clipboard
public void autonomousInit()
This autonomous runs the autonomous command selected by your RobotContainer class.
Link copied to clipboard
public void robotInit()
This function is run when the robot is first started up and should be used for any initialization code.
Link copied to clipboard
public void robotPeriodic()
This function is called every 20 ms, no matter the mode.
Link copied to clipboard
public void teleopInit()
This function is called once when teleop mode is initialized.
Link copied to clipboard
public void testInit()
This function is called once when test mode is initialized.