blob: 7d502cc67eef5838194e9faddd3a0279cceb7244 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001namespace y2014.control_loops.claw;
2
3// All angles here are 0 vertical, positive "up" (aka backwards).
4table Status {
5 // True if zeroed enough for the current period (autonomous or teleop).
Austin Schuhb3375e02020-11-14 15:28:31 -08006 zeroed:bool (id: 0);
Alex Perrycb7da4b2019-08-28 19:35:56 -07007 // True if zeroed as much as we will force during autonomous.
Austin Schuhb3375e02020-11-14 15:28:31 -08008 zeroed_for_auto:bool (id: 1);
Alex Perrycb7da4b2019-08-28 19:35:56 -07009 // True if zeroed and within tolerance for separation and bottom angle.
Austin Schuhb3375e02020-11-14 15:28:31 -080010 done:bool (id: 2);
Alex Perrycb7da4b2019-08-28 19:35:56 -070011 // True if zeroed and within tolerance for separation and bottom angle.
12 // seperation allowance much wider as a ball may be included
Austin Schuhb3375e02020-11-14 15:28:31 -080013 done_with_ball:bool (id: 3);
Alex Perrycb7da4b2019-08-28 19:35:56 -070014 // Dump the values of the state matrix.
Austin Schuhb3375e02020-11-14 15:28:31 -080015 bottom:double (id: 4);
16 bottom_velocity:double (id: 5);
17 separation:double (id: 6);
18 separation_velocity:double (id: 7);
Alex Perrycb7da4b2019-08-28 19:35:56 -070019}
20
21root_type Status;