1 #ifndef _ControlSlider_HG_ 3 #define _ControlSlider_HG_ 5 #include <frc/commands/Command.h> 9 #include <frc/GenericHID.h> 35 #endif // _ControlSlider_HG_
void Interrupted() override
Runs once if the command is forced to stop.
ControlSlider()
Class constructor.
bool IsFinished() override
void Execute() override
Called in a loop during Teleop.
double speed
Speed value that will be passed into Slider::Slide.
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.
An interface command for driving the robot with an xbox controller.