blob: 7e790cdac3705138020fd70ebe73aca71a049b04 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2016.control_loops.superstructure;
2
3table Output {
Ravago Jonesfb6a7a52020-11-14 13:47:46 -08004 voltage_intake:float (id: 0);
5 voltage_shoulder:float (id: 1);
6 voltage_wrist:float (id: 2);
Alex Perrycb7da4b2019-08-28 19:35:56 -07007
Ravago Jonesfb6a7a52020-11-14 13:47:46 -08008 voltage_top_rollers:float (id: 3);
9 voltage_bottom_rollers:float (id: 4);
Alex Perrycb7da4b2019-08-28 19:35:56 -070010
11 // Voltage to sent to the climber. Positive is pulling the robot up.
Ravago Jonesfb6a7a52020-11-14 13:47:46 -080012 voltage_climber:float (id: 5);
Alex Perrycb7da4b2019-08-28 19:35:56 -070013 // If true, release the latch to trigger the climber to unfold.
Ravago Jonesfb6a7a52020-11-14 13:47:46 -080014 unfold_climber:bool (id: 6);
Alex Perrycb7da4b2019-08-28 19:35:56 -070015
16 // If true, release the latch to hold the traverse mechanism in the middle.
Ravago Jonesfb6a7a52020-11-14 13:47:46 -080017 traverse_unlatched:bool (id: 7);
Alex Perrycb7da4b2019-08-28 19:35:56 -070018 // If true, fire the traverse mechanism down.
Ravago Jonesfb6a7a52020-11-14 13:47:46 -080019 traverse_down:bool (id: 8);
Alex Perrycb7da4b2019-08-28 19:35:56 -070020}
21
22root_type Output;