2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
#include <autonomous_cable_protector_place_exit.h>
Public Member Functions | |
AutonomousCableProtectorPlaceExit (SwerveDriveSubsystem &drive, BashGuardSubsystem &bash, LifterSubsystem &lifter, SimpleLedSubsystem &leds, IntakeSubsystem &intake) | |
void | Initialize () override |
void | Execute () override |
void | End (bool interrupted) override |
bool | IsFinished () override |
std::string | GetName () const final |
Get the name of the command to display on the dashboard. | |
frc2::Command * | GetCommand () final |
Get the command to run when selected from dashboard. | |
Public Member Functions inherited from AutonomousCommand | |
AutonomousCommand ()=default | |
Private Attributes | |
SwerveDriveSubsystem & | m_drive |
BashGuardSubsystem & | m_bashGuard |
LifterSubsystem & | m_lifter |
SimpleLedSubsystem & | m_leds |
IntakeSubsystem & | m_intake |
frc2::CommandPtr | m_allCommands |
Note that this extends CommandHelper, rather extending CommandBase directly; this is crucially important, or else the decorator functions in Command will not work!
AutonomousCableProtectorPlaceExit::AutonomousCableProtectorPlaceExit | ( | SwerveDriveSubsystem & | drive, |
BashGuardSubsystem & | bash, | ||
LifterSubsystem & | lifter, | ||
SimpleLedSubsystem & | leds, | ||
IntakeSubsystem & | intake | ||
) |
|
override |
|
override |
|
finalvirtual |
Get the command to run when selected from dashboard.
Implements AutonomousCommand.
|
finalvirtual |
Get the name of the command to display on the dashboard.
Implements AutonomousCommand.
|
override |
|
override |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |