Convert y2014 to use explicit ids
This makes it harder to accidentally break compatability
Change-Id: Id0e5cdb56a1e442b7d39fd7c9f9424a192462462
diff --git a/y2014/control_loops/shooter/shooter_status.fbs b/y2014/control_loops/shooter/shooter_status.fbs
index 4e76e27..ba1969d 100644
--- a/y2014/control_loops/shooter/shooter_status.fbs
+++ b/y2014/control_loops/shooter/shooter_status.fbs
@@ -2,20 +2,20 @@
table Status {
// Whether it's ready to shoot right now.
- ready:bool;
+ ready:bool (id: 0);
// Whether the plunger is in and out of the way of grabbing a ball.
// TODO(ben): Populate these!
//cocked:bool;
// How many times we've shot.
- shots:int;
+ shots:int32 (id: 1);
//done:bool;
// What we think the current position of the hard stop on the shooter is, in
// shot power (Joules).
- hard_stop_power:double;
+ hard_stop_power:double (id: 2);
- absolute_position:double;
- absolute_velocity:double;
- state:uint;
+ absolute_position:double (id: 3);
+ absolute_velocity:double (id: 4);
+ state:uint32 (id: 5);
}
root_type Status;