1 #ifndef _ControlCargo_HG_ 3 #define _ControlCargo_HG_ 5 #include <frc/commands/Command.h> 8 #include <frc/GenericHID.h> 9 #include <frc/XboxController.h> 33 #endif // _ControlCargo_HG_
void Execute() override
Called in a loop during Teleop.
ControlCargo()
Class constructor.
frc::XboxController * pJoyDrive
A mnemonic for the operator's controller because we are lazy.
bool IsFinished() override
void End() override
Runs once when IsFinished() returns true.
void Initialize() override
Runs once on initalization.
An interface command for driving the robot with an xbox controller.
void Interrupted() override
Runs once if the command is forced to stop.