1 #ifndef _CONTROLLIGHT_HG_ 3 #define _CONTROLLIGHT_HG_ 5 #include <frc/commands/Command.h> 8 #include <frc/WPILib.h> 9 #include <frc/GenericHID.h> 25 #endif // _CONTROLLIGHT_HG_
An interface command for toggleing the gripper.
void Interrupted() override
Runs once if the command is forced to stop.
ControlLight()
Class constructor.
void End() override
Runs once when IsFinished() returns true.
void Execute() override
Called in a loop during Teleop.
bool IsFinished() override
void Initialize() override
Runs once on initalization.
frc::XboxController * pJoyOp