void Execute() override
Called in a loop during Teleop.
void Retract()
Retract the Flap.
ControlCargo()
Class constructor.
frc::XboxController * pJoyDrive
A mnemonic for the operator's controller because we are lazy.
static Flap * m_Flap
Pointer for the Cargo Flap.
bool IsFinished() override
void End() override
Runs once when IsFinished() returns true.
void Initialize() override
Runs once on initalization.
frc::XboxController * GetJoystickDrive(void)
static OI * m_oi
Pointer for the Operator Interface (OI)
void Deploy()
Deploy the Flap.
void Interrupted() override
Runs once if the command is forced to stop.