#include <Robot.h>
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ Robot()
- Copyright
- Copyright (c) Argos FRC Team 1756. Open Source Software; you can modify and/or share it under the terms of the license file in the root directory of this project.
◆ AutonomousInit()
void Robot::AutonomousInit |
( |
| ) |
|
|
override |
This autonomous runs the autonomous command selected by your RobotContainer
class.
◆ AutonomousPeriodic()
void Robot::AutonomousPeriodic |
( |
| ) |
|
|
override |
◆ DisabledInit()
void Robot::DisabledInit |
( |
| ) |
|
|
override |
This function is called once each time the robot enters Disabled mode. You can use it to reset any subsystem information you want to clear when the robot is disabled.
◆ DisabledPeriodic()
void Robot::DisabledPeriodic |
( |
| ) |
|
|
override |
◆ RobotInit()
void Robot::RobotInit |
( |
| ) |
|
|
override |
◆ RobotPeriodic()
void Robot::RobotPeriodic |
( |
| ) |
|
|
override |
This function is called every 20 ms, 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.
◆ SimulationInit()
void Robot::SimulationInit |
( |
| ) |
|
|
override |
This function is called once when the robot is first started up.
◆ SimulationPeriodic()
void Robot::SimulationPeriodic |
( |
| ) |
|
|
override |
This function is called periodically whilst in simulation.
◆ TeleopInit()
void Robot::TeleopInit |
( |
| ) |
|
|
override |
◆ TeleopPeriodic()
void Robot::TeleopPeriodic |
( |
| ) |
|
|
override |
This function is called periodically during operator control.
◆ TestPeriodic()
void Robot::TestPeriodic |
( |
| ) |
|
|
override |
This function is called periodically during test mode.
◆ m_connectedToFieldDebouncer
◆ m_container
◆ m_lastAlliance
frc::DriverStation::Alliance Robot::m_lastAlliance |
|
private |
◆ m_pAutonomousCommand
frc2::Command* Robot::m_pAutonomousCommand |
|
private |
The documentation for this class was generated from the following files: