blob: 005d93024cc8c186312c947cba7acb5087dccbf6 [file] [log] [blame]
Stephan Massaltd021f972020-01-05 20:41:23 -08001namespace y2020.control_loops.superstructure;
2
3table Output {
Sabina Davis70d5e912020-01-31 21:10:37 -08004 // Votage sent to the hood. Positive moves up.
Austin Schuhd7851b02020-11-14 13:46:27 -08005 hood_voltage:double (id: 0);
Sabina Davis6b61de32020-02-02 12:42:51 -08006
7 // Voltage sent to motors on intake joint. Positive extends rollers.
Austin Schuhd7851b02020-11-14 13:46:27 -08008 intake_joint_voltage:double (id: 1);
Sabina Davis6b61de32020-02-02 12:42:51 -08009
10 // Voltage sent to rollers on intake. Positive rolls inward.
Austin Schuhd7851b02020-11-14 13:46:27 -080011 intake_roller_voltage:double (id: 2);
Tyler Chatow1879acc2020-02-01 13:26:48 -080012
Austin Schuhd7851b02020-11-14 13:46:27 -080013 // Voltage sent to the motors.
14 // Positive rotates counterclockwise from a birds eye view.
15 turret_voltage:double (id: 3);
Tyler Chatowcf413662020-02-09 14:36:36 -080016
17 // Voltage sent to the feeder belt. Positive is feeding.
Austin Schuhd7851b02020-11-14 13:46:27 -080018 feeder_voltage:double (id: 4);
Tyler Chatowcf413662020-02-09 14:36:36 -080019
20 // Voltage sent to the washing_machine and control panel spinner.
21 // Positive runs the washing machine CCW facing the front of the robot, and
22 // the spinner runs CCW from a top down view.
Austin Schuhd7851b02020-11-14 13:46:27 -080023 washing_machine_spinner_voltage:double (id: 5);
Tyler Chatowcf413662020-02-09 14:36:36 -080024
25 // Voltage sent to the kicker. Positive is shooting.
Austin Schuhd7851b02020-11-14 13:46:27 -080026 accelerator_left_voltage:double (id: 6);
27 accelerator_right_voltage:double (id: 7);
Tyler Chatowcf413662020-02-09 14:36:36 -080028
29 // Voltage sent to the flywheel. Positive is shooting.
Austin Schuhd7851b02020-11-14 13:46:27 -080030 finisher_voltage:double (id: 8);
Sabina Davis5187f862020-02-09 13:16:51 -080031
Sabina Davis6737b092020-02-17 12:59:32 -080032 // Positive is deploying climber and to climb; cannot run in reverse
Austin Schuhd7851b02020-11-14 13:46:27 -080033 climber_voltage:double (id: 9);
Stephan Massaltd021f972020-01-05 20:41:23 -080034}
35
36root_type Output;