blob: 6f6262b4c19ab07f55f62abb142c13214c52a442 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2016.control_loops.shooter;
2
3table ShooterSideStatus {
4 // True if the shooter side is up to speed and stable.
5 ready:bool;
6 // The current average velocity in radians/second.
7 avg_angular_velocity:double;
8 // The current instantaneous filtered velocity in radians/second.
9 angular_velocity:double;
10}
11
12table Status {
13 // Left side status.
14 left:ShooterSideStatus;
15 // Right side status.
16 right:ShooterSideStatus;
17
18 // True if the shooter is ready. It is better to compare the velocities
19 // directly so there isn't confusion on if the goal is up to date.
20 ready:bool;
21
22 // The number of shots that have been fired since the start of the shooter
23 // control loop.
24 shots:uint;
25}
26
27root_type Status;