|
2024-Robot
Robot code for 2024 FRC season by Argos, FRC team #1756
|
Command-based is a "declarative" paradigm, very little robot logic should actually be handled in the Robot periodic methods (other than the scheduler calls). Instead, the structure of the robot (including subsystems, commands, and trigger mappings) should be declared here.
More...
#include <RobotContainer.h>
Public Member Functions | |
| RobotContainer () | |
| frc2::Command * | GetAutonomousCommand () |
| void | Disable () |
| Called once when robot is disabled. | |
| void | Enable () |
| Called once when robot is enabled. | |
| void | AllianceChanged () |
| Called when the alliance is changed. | |
| void | SetLedsConnectedBrightness (bool connected) |
Private Member Functions | |
| void | ConfigureBindings () |
Command-based is a "declarative" paradigm, very little robot logic should actually be handled in the Robot periodic methods (other than the scheduler calls). Instead, the structure of the robot (including subsystems, commands, and trigger mappings) should be declared here.
| RobotContainer::RobotContainer | ( | ) |
| void RobotContainer::AllianceChanged | ( | ) |
Called when the alliance is changed.
|
private |
| void RobotContainer::Disable | ( | ) |
Called once when robot is disabled.
| void RobotContainer::Enable | ( | ) |
Called once when robot is enabled.
| frc2::Command * RobotContainer::GetAutonomousCommand | ( | ) |
| void RobotContainer::SetLedsConnectedBrightness | ( | bool | connected | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
True indicates latest enable was during autonomous.
|
private |