blob: b0ae6de48971e3091b9e45a03c6e0769451a9e14 [file] [log] [blame]
Niko Sohmers3860f8a2024-01-12 21:05:19 -08001namespace y2024.control_loops.superstructure;
2
3table Output {
Niko Sohmers58e64c82024-01-14 12:49:54 -08004 // Voltage of rollers on intake
5 intake_roller_voltage:double (id: 0);
6
7 // Voltage of intake pivot
Filip Kujawaeab026a2024-02-14 20:07:39 -08008 // Positive voltage causes pivot to retract.
Niko Sohmers58e64c82024-01-14 12:49:54 -08009 intake_pivot_voltage:double (id: 1);
Maxwell Hendersonbf04fb62024-01-19 17:56:07 -080010
11 // Voltage of the turret
Filip Kujawaeab026a2024-02-14 20:07:39 -080012 // Positive voltage is for rotating the turret clockwise.
Maxwell Hendersonbf04fb62024-01-19 17:56:07 -080013 turret_voltage: double (id: 2);
14
15 // Voltage of the altitude
Filip Kujawaeab026a2024-02-14 20:07:39 -080016 // Positive voltage is for raising it upward.
Maxwell Hendersonbf04fb62024-01-19 17:56:07 -080017 altitude_voltage: double (id: 3);
18
19 // Voltage of the catapult
Filip Kujawaeab026a2024-02-14 20:07:39 -080020 // Positive voltage is for shooting the game piece,
21 // rotating the catapult counter-clockwise.
Maxwell Hendersonbf04fb62024-01-19 17:56:07 -080022 catapult_voltage: double (id: 4);
Niko Sohmers78f71352024-02-02 16:47:40 -080023
24 // Voltage of transfer rollers
25 // Positive voltage is for transfering in
26 // Negative voltage is for transfering out
27 transfer_roller_voltage:double (id: 5);
Filip Kujawa57507152024-01-31 20:09:25 -080028
29 // Voltage of climber
30 // Positive voltage is for climber up
31 // Negative voltage is for climber down
32 climber_voltage:double (id: 6);
Maxwell Henderson41a7ab02024-02-08 09:41:42 -080033
34 // Voltage of the retention rollers
35 // Positive voltage will hold the game piece in the catapult.
36 retention_roller_voltage: double (id: 7);
Filip Kujawa102a9b22024-02-18 09:40:23 -080037
38 // Voltage of extend
39 // Positive voltage extends the extend
40 // Negative voltage retracts the extend
41 extend_voltage:double (id: 8);
42
43 // Voltage of the extend rollers
44 // Positive voltage rolls the game piece up towards the scoring mechanisms,
45 // either the catapult or amp/trap mechanism
46 extend_roller_voltage:double (id: 9);
Niko Sohmers3860f8a2024-01-12 21:05:19 -080047}
48
49root_type Output;