blob: 74f6129a875c2b3f992396c9e5a9e4769d0f7300 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2017.control_loops.superstructure;
2
3table Output {
4 // Voltages for some of the subsystems.
Austin Schuhd7851b02020-11-14 13:46:27 -08005 voltage_intake:double (id: 0);
6 voltage_indexer:double (id: 1);
7 voltage_shooter:double (id: 2);
Alex Perrycb7da4b2019-08-28 19:35:56 -07008
9 // Rollers on the intake.
Austin Schuhd7851b02020-11-14 13:46:27 -080010 voltage_intake_rollers:double (id: 3);
Alex Perrycb7da4b2019-08-28 19:35:56 -070011 // Roller on the indexer
Austin Schuhd7851b02020-11-14 13:46:27 -080012 voltage_indexer_rollers:double (id: 4);
Alex Perrycb7da4b2019-08-28 19:35:56 -070013
Austin Schuhd7851b02020-11-14 13:46:27 -080014 voltage_turret:double (id: 5);
15 voltage_hood:double (id: 6);
Alex Perrycb7da4b2019-08-28 19:35:56 -070016
Austin Schuhd7851b02020-11-14 13:46:27 -080017 gear_servo:double (id: 7);
Alex Perrycb7da4b2019-08-28 19:35:56 -070018
19 // If true, the lights are on.
Austin Schuhd7851b02020-11-14 13:46:27 -080020 lights_on:bool (id: 8);
Alex Perrycb7da4b2019-08-28 19:35:56 -070021
Austin Schuhd7851b02020-11-14 13:46:27 -080022 red_light_on:bool (id: 9);
23 green_light_on:bool (id: 10);
24 blue_light_on:bool (id: 11);
Alex Perrycb7da4b2019-08-28 19:35:56 -070025}
26
27root_type Output;