![]() |
1516X High Stakes 2.0
Codebase for 1516X High Stakes season
|
The Latch class represents a latching mechanism. More...
#include <latch.h>
Public Member Functions | |
| void | run () |
| Runs latching mechanism. | |
| Latch () | |
| void | toggle () |
| Toggles latch state. | |
| void Latch::run | ( | ) |
Runs latching mechanism.
Definition at line 8 of file latch.cpp.
References Robot::Globals::controller(), and toggle().
| void Latch::toggle | ( | ) |
Toggles latch state.
Definition at line 16 of file latch.cpp.
References Robot::Globals::LatchControl().
Referenced by BluePosBAK(), Robot::Autonomous::BluePosLateGoalRush(), RedPosBAK(), Robot::Autonomous::RedPosLateGoalRush(), and run().