DeepSpace
2019
|
An interface command for toggleing the gripper. More...
#include <ControlLight.h>
Public Member Functions | |
ControlLight () | |
Class constructor. More... | |
void | Initialize () override |
Runs once on initalization. More... | |
void | Execute () override |
Called in a loop during Teleop. More... | |
bool | IsFinished () override |
void | End () override |
Runs once when IsFinished() returns true. More... | |
void | Interrupted () override |
Runs once if the command is forced to stop. More... | |
Private Attributes | |
bool | state |
frc::XboxController * | pJoyOp |
An interface command for toggleing the gripper.
Definition at line 11 of file ControlLight.h.
ControlLight::ControlLight | ( | ) |
Class constructor.
Definition at line 4 of file ControlLight.cpp.
|
override |
Runs once when IsFinished() returns true.
Definition at line 27 of file ControlLight.cpp.
|
override |
Called in a loop during Teleop.
Definition at line 15 of file ControlLight.cpp.
|
override |
Runs once on initalization.
Definition at line 12 of file ControlLight.cpp.
|
override |
Runs once if the command is forced to stop.
Definition at line 31 of file ControlLight.cpp.
|
override |
Definition at line 24 of file ControlLight.cpp.
|
private |
Definition at line 22 of file ControlLight.h.
|
private |
Definition at line 21 of file ControlLight.h.