18 if(this->
pJoyDrive->GetStartButtonReleased() || this->
pJoyOp->GetStartButtonReleased()){
23 if(this->
pJoyDrive->GetBackButtonReleased() || this->
pJoyOp->GetBackButtonReleased()){
void Initialize() override
Runs once on initalization.
void SetState(bool enabled)
frc::XboxController * GetJoystickOperator(void)
ControlCompressor()
Class constructor.
static cCompressor * m_cCompressor
Pointer for the cCompressor.
void Interrupted() override
Runs once if the command is forced to stop.
bool IsFinished() override
void Execute() override
Called in a loop during Teleop.
frc::XboxController * pJoyOp
A mnemonic for the operator's controller.
frc::XboxController * GetJoystickDrive(void)
static OI * m_oi
Pointer for the Operator Interface (OI)
void End() override
Runs once when IsFinished() returns true.
frc::XboxController * pJoyDrive
A mnemonic for the driver's controller.