2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
#include <grip_cube_command.h>
Public Member Functions | |
GripCubeCommand (LifterSubsystem &lifter, BashGuardSubsystem &bash, IntakeSubsystem &intake) | |
void | Initialize () override |
void | Execute () override |
void | End (bool interrupted) override |
bool | IsFinished () override |
Private Attributes | |
LifterSubsystem & | m_lifter |
IntakeSubsystem & | m_intake |
BashGuardSubsystem & | m_bash |
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!
GripCubeCommand::GripCubeCommand | ( | LifterSubsystem & | lifter, |
BashGuardSubsystem & | bash, | ||
IntakeSubsystem & | intake | ||
) |
|
override |
|
override |
|
override |
|
override |
|
private |
|
private |
|
private |
|
private |