![]() |
FRC Paradigm Shift #1259
Documentation for the 2021 Robot
|
Public Member Functions | |
void | RobotInit () override |
void | RobotPeriodic () override |
void | DisabledInit () override |
void | DisabledPeriodic () override |
void | AutonomousInit () override |
void | AutonomousPeriodic () override |
void | TeleopInit () override |
void | TeleopPeriodic () override |
void | TestPeriodic () override |
Private Attributes | |
frc2::Command * | m_autonomousCommand = nullptr |
RobotContainer | m_container |
|
override |
This function is called every robot packet, no matter the mode. Use this for items like diagnostics that you want to run during disabled, autonomous, teleoperated and test.
This runs after the mode specific periodic functions, but before LiveWindow and SmartDashboard integrated updating.
|
override |
|
override |
This autonomous runs the autonomous command selected by your RobotContainer class.
Definition at line 37 of file Robot.cpp.
References RobotContainer::GetAutonomousCommand(), m_autonomousCommand, RobotContainer::m_chooser, and m_container.
|
override |
Definition at line 47 of file Robot.cpp.
References m_autonomousCommand, m_container, and RobotContainer::ZeroDrive().
|
override |
|
override |
|
private |