![]() |
2022-Robot
Robot code for 2022 FRC Season by Argos, FRC team #1756
|
#include <autonomous_nothing.h>
Public Member Functions | |
AutonomousNothing () | |
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. More... | |
frc2::Command * | GetCommand () final |
Get the command to run when selected from dashboard. More... | |
![]() | |
AutonomousCommand ()=default | |
virtual std::string | GetName () const =0 |
Get the name of the command to display on the dashboard. More... | |
virtual frc2::Command * | GetCommand ()=0 |
Get the command to run when selected from dashboard. More... | |
Note that this extends CommandHelper, rather extending CommandBase directly; this is crucially important, or else the decorator functions in Command will not work!
AutonomousNothing::AutonomousNothing | ( | ) |
|
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 |