Helper Classes - Pattonville-Robotics/2866 GitHub Wiki
BeaconPresser
The BeaconPresser class encapsulates functionality of the beacon pressing servo apparatus. It stores the servo positions and allows easy control of the robot's pressers.
| Method | Description | Interactions |
|---|---|---|
setLeftServoUp() |
Moves the left servo into storage position | Servos |
setLeftServoDown() |
Moves the left servo into pressing position | Servos |
setRightServoUp() |
Moves the right servo into storage position | Servos |
setRightServoDown() |
Moves the right servo into pressing position | Servos |
setLeftServoPosition(double position) |
Moves the left servo to the specified position | Servos |
setRightServoPosition(double position) |
Moves the right servo to the specified position | Servos |