2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
|
#include <score_cone_command.h>
Public Member Functions | |
ScoreConeCommand (LifterSubsystem &lifter, BashGuardSubsystem &bash, IntakeSubsystem &intake) | |
void | Initialize () override |
void | Execute () override |
void | End (bool interrupted) override |
bool | IsFinished () override |
Static Private Member Functions | |
static frc::Translation2d | GetRelativePose (const frc::Translation2d &initPosition, units::inch_t xOffset, units::inch_t zOffset) |
Private Attributes | |
LifterSubsystem & | m_lifter |
IntakeSubsystem & | m_intake |
BashGuardSubsystem & | m_bash |
frc2::InstantCommand | m_retractIntake |
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!
ScoreConeCommand::ScoreConeCommand | ( | LifterSubsystem & | lifter, |
BashGuardSubsystem & | bash, | ||
IntakeSubsystem & | intake | ||
) |
|
override |
|
override |
|
inlinestaticprivate |
|
override |
|
override |
|
private |
|
private |
|
private |
|
private |
|
private |