blob: 91363c49e0c9b3d77051fe380b995f6c8d68ac4f [file] [log] [blame]
Sabina Davisb6b987d2017-10-22 20:50:21 -07001package y2017_bot3.control_loops;
2
3import "aos/common/controls/control_loops.q";
4import "frc971/control_loops/control_loops.q";
5
6queue_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
34queue_group SuperstructureQueue superstructure_queue;
35