Sabina Davis | b6b987d | 2017-10-22 20:50:21 -0700 | [diff] [blame^] | 1 | package y2017_bot3.control_loops; |
| 2 | |
| 3 | import "aos/common/controls/control_loops.q"; |
| 4 | import "frc971/control_loops/control_loops.q"; |
| 5 | |
| 6 | queue_group SuperstructureQueue { |
| 7 | implements aos.control_loops.ControlLoop; |
| 8 | |
| 9 | message Goal { |
| 10 | // Voltage to send to the rollers. Positive is sucking in. |
| 11 | float voltage_rollers; |
| 12 | bool fingers_out; |
| 13 | float hanger_voltage; |
| 14 | }; |
| 15 | |
| 16 | message Status { |
| 17 | }; |
| 18 | |
| 19 | message Position { |
| 20 | }; |
| 21 | |
| 22 | message Output { |
| 23 | float voltage_rollers; |
| 24 | bool fingers_out; |
| 25 | float hanger_voltage; |
| 26 | }; |
| 27 | |
| 28 | queue Goal goal; |
| 29 | queue Output output; |
| 30 | queue Status status; |
| 31 | queue Position position; |
| 32 | }; |
| 33 | |
| 34 | queue_group SuperstructureQueue superstructure_queue; |
| 35 | |