public final class Robot
extends edu.wpi.first.wpilibj.IterativeRobot
| Modifier and Type | Field | Description |
|---|---|---|
static edu.wpi.first.wpilibj.smartdashboard.SendableChooser<edu.wpi.first.wpilibj.command.Command> |
autonChooser |
Tells the robot which auton command to run.
|
private static edu.wpi.first.wpilibj.command.Command |
autonCommand |
The auton command to run for this round.
|
static Drivetrain |
drivetrain |
The drivetrain subsystem.
|
static Elevator |
elevator |
The elevator subsystem.
|
private static java.lang.String |
gameData |
Game data from the drive station.
|
static IntakePistons |
intakePistons |
The intake grabber piston.
|
static IntakeRollers |
intakeRollers |
The intake roller wheels.
|
static IntakeShifter |
intakeShifter |
The intake shifter piston.
|
static LED |
led |
The LED subsystem.
|
private static edu.wpi.first.wpilibj.smartdashboard.SendableChooser<java.lang.String> |
sideChooser |
Tells the robot which side?
|
| Modifier | Constructor | Description |
|---|---|---|
private |
Robot() |
Don't let anyone instantiate this class.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
autonomousInit() |
Initializes the robot for auton mode.
|
void |
autonomousPeriodic() |
Periodic code for auton mode.
|
void |
disabledInit() |
Initializes the robot for disabled mode.
|
void |
disabledPeriodic() |
Periodic code for disabled mode.
|
void |
robotInit() |
Initializes all of the robots subsystems and the smart dash board.
|
void |
teleopInit() |
Initializes the robot for teleop mode.
|
void |
teleopPeriodic() |
Periodic code for teleop mode.
|
void |
testInit() |
Initializes robot for test mode.
|
void |
testPeriodic() |
Periodic code for test mode.
|
public static Drivetrain drivetrain
public static Elevator elevator
public static IntakeRollers intakeRollers
public static IntakePistons intakePistons
public static IntakeShifter intakeShifter
public static LED led
public static edu.wpi.first.wpilibj.smartdashboard.SendableChooser<edu.wpi.first.wpilibj.command.Command> autonChooser
private static edu.wpi.first.wpilibj.smartdashboard.SendableChooser<java.lang.String> sideChooser
private static edu.wpi.first.wpilibj.command.Command autonCommand
private static java.lang.String gameData
public void robotInit()
robotInit in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void disabledInit()
disabledInit in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void disabledPeriodic()
disabledPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void autonomousInit()
autonomousInit in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void autonomousPeriodic()
autonomousPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void teleopInit()
teleopInit in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void teleopPeriodic()
teleopPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void testInit()
testInit in class edu.wpi.first.wpilibj.IterativeRobotBasepublic void testPeriodic()
testPeriodic in class edu.wpi.first.wpilibj.IterativeRobotBase