milind-u | 086d726 | 2022-01-19 20:44:18 -0800 | [diff] [blame] | 1 | namespace y2022.control_loops.superstructure; |
| 2 | |
| 3 | table Output { |
Henry Speiser | 55aa3ba | 2022-02-21 23:21:12 -0800 | [diff] [blame] | 4 | // Voltage of the climber falcon |
| 5 | // - is down + is up |
| 6 | climber_voltage:double (id: 0); |
Jacob Ismael | 322ebb9 | 2022-02-09 20:12:47 -0800 | [diff] [blame] | 7 | |
milind-u | 6e7d8d4 | 2022-04-06 18:30:43 -0700 | [diff] [blame^] | 8 | // Position of the climber servo from 0 to 1 |
| 9 | climber_servo_left:double (id: 10); |
| 10 | climber_servo_right:double (id: 11); |
| 11 | |
Griffin Bui | bcbef48 | 2022-02-23 15:32:10 -0800 | [diff] [blame] | 12 | // Voltage of the flipper arms falcons |
| 13 | // - is feed + is open |
| 14 | flipper_arms_voltage:double (id: 1); |
| 15 | |
Henry Speiser | 55aa3ba | 2022-02-21 23:21:12 -0800 | [diff] [blame] | 16 | // Voltage of the catapult falcon |
| 17 | // Positive lifts the catapult to fire. |
Griffin Bui | bcbef48 | 2022-02-23 15:32:10 -0800 | [diff] [blame] | 18 | catapult_voltage:double (id: 2); |
Jacob Ismael | 322ebb9 | 2022-02-09 20:12:47 -0800 | [diff] [blame] | 19 | |
Henry Speiser | 55aa3ba | 2022-02-21 23:21:12 -0800 | [diff] [blame] | 20 | // Voltage of the turret falcon |
| 21 | // Positive rotates the turret around the Z axis (up) according to the |
| 22 | // right hand rule. |
Griffin Bui | bcbef48 | 2022-02-23 15:32:10 -0800 | [diff] [blame] | 23 | turret_voltage:double (id: 3); |
Henry Speiser | 55aa3ba | 2022-02-21 23:21:12 -0800 | [diff] [blame] | 24 | |
| 25 | // Intake joint voltages. |
Griffin Bui | bcbef48 | 2022-02-23 15:32:10 -0800 | [diff] [blame] | 26 | intake_voltage_front:double (id: 4); |
| 27 | intake_voltage_back:double (id: 5); |
Henry Speiser | 55aa3ba | 2022-02-21 23:21:12 -0800 | [diff] [blame] | 28 | |
| 29 | // Intake roller voltages |
Ravago Jones | 5da0635 | 2022-03-04 20:26:24 -0800 | [diff] [blame] | 30 | // positive is pulling into the robot |
Griffin Bui | bcbef48 | 2022-02-23 15:32:10 -0800 | [diff] [blame] | 31 | roller_voltage_front:double (id: 6); |
| 32 | roller_voltage_back:double (id: 7); |
Milind Upadhyay | 29dcc17 | 2022-04-02 19:21:30 -0700 | [diff] [blame] | 33 | transfer_roller_voltage:double (id: 8); |
| 34 | // Only using one transfer roller voltage now |
| 35 | transfer_roller_voltage_back:double (id: 9, deprecated); |
milind-u | 086d726 | 2022-01-19 20:44:18 -0800 | [diff] [blame] | 36 | } |
| 37 | |
| 38 | root_type Output; |