|
DeepSpace
2019
|
#include <ClimbManager.h>
Public Types | |
| enum | ClimbState { kInactive, kAuto, kActive } |
Public Member Functions | |
| ClimbManager () | |
| 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... | |
| void | UpdateRumble (void) |
| Updates whether the controller should be rumbleing or not. More... | |
Public Attributes | |
| frc::XboxController * | pJoyOp |
Static Public Attributes | |
| static ClimbState | CurrentClimbState |
Definition at line 8 of file ClimbManager.h.
| Enumerator | |
|---|---|
| kInactive | |
| kAuto | |
| kActive | |
Definition at line 10 of file ClimbManager.h.
| ClimbManager::ClimbManager | ( | ) |
Class constructor.
Definition at line 8 of file ClimbManager.cpp.
|
override |
Runs once when IsFinished() returns true.
Definition at line 62 of file ClimbManager.cpp.
|
override |
Called in a loop during Teleop.
Definition at line 17 of file ClimbManager.cpp.
|
override |
Runs once on initalization.
Definition at line 14 of file ClimbManager.cpp.
|
override |
Runs once if the command is forced to stop.
Definition at line 70 of file ClimbManager.cpp.
|
override |
Definition at line 59 of file ClimbManager.cpp.
| void ClimbManager::UpdateRumble | ( | void | ) |
Updates whether the controller should be rumbleing or not.
Definition at line 76 of file ClimbManager.cpp.
|
static |
Definition at line 15 of file ClimbManager.h.
| frc::XboxController* ClimbManager::pJoyOp |
Definition at line 23 of file ClimbManager.h.