blob: eda9279e457546f0dd6f445ff04c19af9207a6d3 [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).
6 zeroed:bool;
7 // True if zeroed as much as we will force during autonomous.
8 zeroed_for_auto:bool;
9 // True if zeroed and within tolerance for separation and bottom angle.
10 done:bool;
11 // True if zeroed and within tolerance for separation and bottom angle.
12 // seperation allowance much wider as a ball may be included
13 done_with_ball:bool;
14 // Dump the values of the state matrix.
15 bottom:double;
16 bottom_velocity:double;
17 separation:double;
18 separation_velocity:double;
19}
20
21root_type Status;