The robot code for MARS 1523 robot Kevin for the 2019 season
A heavily commented version of this code can be found here. And is intended to provide insight into the code and to help learn how to build robot code.
| Driver 1 | Driver 2 | |
|---|---|---|
| Left Stick | Forward/Reverse | Intake wheels |
| Right Stick | Turn | Wrist Position |
| Up | Lift preset (1180) | |
| Down | Lift preset Rocket L1 Hatch (200) | |
| Left | Lift preset (380) | |
| Right | Lift preset MAX (2028) | |
| A | Slow Mode | Intake Defense Mode |
| B | Auto Tape Target (?) | |
| X | Toggle Climb Pistons | Lift preset (575) |
| Y | Reset Field Oriented Drive | Lift preset (420) |
| Left Trigger | Climb Arm Down | Lift Setpoint Decrease |
| Right Trigger | Climb Arm Up | Lift Setpoint Increase |
| Left Bumper | Toggle Mechanum | Toggle Hatch Intake |
| Right Bumper | ? | |
| Back Button | Compressor Off | |
| Start Button | Compressor On |
"Faster, swifter, stronger"