blob: 42ba6b261d8147e90c833b1da0234854655c39cd [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2019.control_loops.superstructure;
2
3table Output {
4 // Voltage sent to motors moving elevator up/down. Positive is up.
Austin Schuhd7851b02020-11-14 13:46:27 -08005 elevator_voltage:double (id: 0);
Alex Perrycb7da4b2019-08-28 19:35:56 -07006
7 // Voltage sent to wrist motors on elevator to rotate.
8 // Positive rotates over the top towards the front of the robot.
Austin Schuhd7851b02020-11-14 13:46:27 -08009 wrist_voltage:double (id: 1);
Alex Perrycb7da4b2019-08-28 19:35:56 -070010
11 // Voltage sent to motors on intake joint. Positive extends rollers.
Austin Schuhd7851b02020-11-14 13:46:27 -080012 intake_joint_voltage:double (id: 2);
Alex Perrycb7da4b2019-08-28 19:35:56 -070013
14 // Voltage sent to rollers on intake. Positive rolls inward.
Austin Schuhd7851b02020-11-14 13:46:27 -080015 intake_roller_voltage:double (id: 3);
Alex Perrycb7da4b2019-08-28 19:35:56 -070016
17 // Voltage sent to motors to move stilts height. Positive moves robot
18 // upward.
Austin Schuhd7851b02020-11-14 13:46:27 -080019 stilts_voltage:double (id: 4);
Alex Perrycb7da4b2019-08-28 19:35:56 -070020
21 // True opens solenoid (applies suction)
22 // Top/bottom are when wrist is toward the front of the robot
Austin Schuhd7851b02020-11-14 13:46:27 -080023 intake_suction_top:bool (id: 5);
24 intake_suction_bottom:bool (id: 6);
Alex Perrycb7da4b2019-08-28 19:35:56 -070025
26 // Voltage sent to the vacuum pump motors.
Austin Schuhd7851b02020-11-14 13:46:27 -080027 pump_voltage:double (id: 7);
Alex Perrycb7da4b2019-08-28 19:35:56 -070028}
29
30root_type Output;