Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 1 | namespace y2019.control_loops.superstructure; |
| 2 | |
| 3 | table Output { |
| 4 | // Voltage sent to motors moving elevator up/down. Positive is up. |
| 5 | elevator_voltage:double; |
| 6 | |
| 7 | // Voltage sent to wrist motors on elevator to rotate. |
| 8 | // Positive rotates over the top towards the front of the robot. |
| 9 | wrist_voltage:double; |
| 10 | |
| 11 | // Voltage sent to motors on intake joint. Positive extends rollers. |
| 12 | intake_joint_voltage:double; |
| 13 | |
| 14 | // Voltage sent to rollers on intake. Positive rolls inward. |
| 15 | intake_roller_voltage:double; |
| 16 | |
| 17 | // Voltage sent to motors to move stilts height. Positive moves robot |
| 18 | // upward. |
| 19 | stilts_voltage:double; |
| 20 | |
| 21 | // True opens solenoid (applies suction) |
| 22 | // Top/bottom are when wrist is toward the front of the robot |
| 23 | intake_suction_top:bool; |
| 24 | intake_suction_bottom:bool; |
| 25 | |
| 26 | // Voltage sent to the vacuum pump motors. |
| 27 | pump_voltage:double; |
| 28 | } |
| 29 | |
| 30 | root_type Output; |