blob: ba1969d621d54407652dbbae6e43531ce7752b30 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2014.control_loops.shooter;
2
3table Status {
4 // Whether it's ready to shoot right now.
Austin Schuhb3375e02020-11-14 15:28:31 -08005 ready:bool (id: 0);
Alex Perrycb7da4b2019-08-28 19:35:56 -07006 // Whether the plunger is in and out of the way of grabbing a ball.
7 // TODO(ben): Populate these!
8 //cocked:bool;
9 // How many times we've shot.
Austin Schuhb3375e02020-11-14 15:28:31 -080010 shots:int32 (id: 1);
Alex Perrycb7da4b2019-08-28 19:35:56 -070011 //done:bool;
12 // What we think the current position of the hard stop on the shooter is, in
13 // shot power (Joules).
Austin Schuhb3375e02020-11-14 15:28:31 -080014 hard_stop_power:double (id: 2);
Alex Perrycb7da4b2019-08-28 19:35:56 -070015
Austin Schuhb3375e02020-11-14 15:28:31 -080016 absolute_position:double (id: 3);
17 absolute_velocity:double (id: 4);
18 state:uint32 (id: 5);
Alex Perrycb7da4b2019-08-28 19:35:56 -070019}
20
21root_type Status;