blob: 57d54f9c525f34aadb521b6efc110e915d37be6c [file] [log] [blame]
Comran Morshed2a97bc82016-01-16 17:27:01 +00001package y2016.control_loops;
2
3import "aos/common/controls/control_loops.q";
4import "frc971/control_loops/control_loops.q";
5
6queue_group ShooterQueue {
7 implements aos.control_loops.ControlLoop;
8
9 message Goal {
10 // Goal velocity in rad/sec
11 double velocity;
12 };
13
14 message Status {
15 // True if the shooter is up to speed.
16 bool ready;
17 // The average velocity over the last 0.1 seconds.
18 double average_velocity;
19 };
20
21 message Position {
22 // The angle of the shooter wheel measured in rad/sec.
23 double position;
24 };
25
26 queue Goal goal;
27 queue Position position;
28 queue aos.control_loops.Output output;
29 queue Status status;
30};
31
32queue_group ShooterQueue shooter_queue;