Convert y2014 to use explicit ids
This makes it harder to accidentally break compatability
Change-Id: Id0e5cdb56a1e442b7d39fd7c9f9424a192462462
diff --git a/y2014/control_loops/claw/claw_status.fbs b/y2014/control_loops/claw/claw_status.fbs
index eda9279..7d502cc 100644
--- a/y2014/control_loops/claw/claw_status.fbs
+++ b/y2014/control_loops/claw/claw_status.fbs
@@ -3,19 +3,19 @@
// All angles here are 0 vertical, positive "up" (aka backwards).
table Status {
// True if zeroed enough for the current period (autonomous or teleop).
- zeroed:bool;
+ zeroed:bool (id: 0);
// True if zeroed as much as we will force during autonomous.
- zeroed_for_auto:bool;
+ zeroed_for_auto:bool (id: 1);
// True if zeroed and within tolerance for separation and bottom angle.
- done:bool;
+ done:bool (id: 2);
// True if zeroed and within tolerance for separation and bottom angle.
// seperation allowance much wider as a ball may be included
- done_with_ball:bool;
+ done_with_ball:bool (id: 3);
// Dump the values of the state matrix.
- bottom:double;
- bottom_velocity:double;
- separation:double;
- separation_velocity:double;
+ bottom:double (id: 4);
+ bottom_velocity:double (id: 5);
+ separation:double (id: 6);
+ separation_velocity:double (id: 7);
}
root_type Status;