29 if(this->
pJoyOp->GetTriggerAxis(Hand::kRightHand) > 0.8){
41 if(this->
pJoyOp->GetBButton()) {
void Interrupted() override
Runs once if the command is forced to stop.
ControlSlider()
Class constructor.
frc::XboxController * GetJoystickOperator(void)
void Deploy()
Deploy the piston.
#define XBOX_DEADZONE_LEFT_JOY
bool IsFinished() override
void Execute() override
Called in a loop during Teleop.
static Slider * m_Slider
Pointer for the Slider.
double speed
Speed value that will be passed into Slider::Slide.
static OI * m_oi
Pointer for the Operator Interface (OI)
void Retract()
Retract the piston.
static Piston * m_Piston
Pointer for the Piston.
void End() override
Runs once when IsFinished() returns true.
void Initialize() override
Runs once on initalization.
frc::XboxController * pJoyOp
A mnemonic for the operator's controller because we are lazy.