blob: f4d62daa8dd1e5eed16d6cf933ba2e238c89819f [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2018.control_loops.superstructure;
2
3table IntakeVoltage {
4 // Voltage of the motors on the series elastic on one side (left or right) of
5 // the intake.
6 voltage_elastic:double;
7
8 // Voltage of the rollers on one side (left or right) of the intake.
9 voltage_rollers:double;
10}
11
12table Output {
13 // Voltage sent to the parts on the left side of the intake.
14 left_intake:IntakeVoltage;
15
16 // Voltage sent to the parts on the right side of the intake.
17 right_intake:IntakeVoltage;
18
19 // Voltage sent to the motors on the proximal joint of the arm.
20 voltage_proximal:double;
21
22 // Voltage sent to the motors on the distal joint of the arm.
23 voltage_distal:double;
24
25 // Voltage sent to the hanger. Positive pulls the robot up.
26 voltage_winch:double;
27
28 // Clamped (when true) or unclamped (when false) status sent to the
29 // pneumatic claw on the arm.
30 claw_grabbed:bool;
31
32 // If true, release the arm brakes.
33 release_arm_brake:bool;
34 // If true, release the hook
35 hook_release:bool;
36 // If true, release the forks
37 forks_release:bool;
38}
39
40root_type Output;