Convert aos over to flatbuffers
Everything builds, and all the tests pass. I suspect that some entries
are missing from the config files, but those will be found pretty
quickly on startup.
There is no logging or live introspection of queue messages.
Change-Id: I496ee01ed68f202c7851bed7e8786cee30df29f5
diff --git a/y2014/control_loops/shooter/shooter_status.fbs b/y2014/control_loops/shooter/shooter_status.fbs
new file mode 100644
index 0000000..4e76e27
--- /dev/null
+++ b/y2014/control_loops/shooter/shooter_status.fbs
@@ -0,0 +1,21 @@
+namespace y2014.control_loops.shooter;
+
+table Status {
+ // Whether it's ready to shoot right now.
+ ready:bool;
+ // 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;
+ //done:bool;
+ // What we think the current position of the hard stop on the shooter is, in
+ // shot power (Joules).
+ hard_stop_power:double;
+
+ absolute_position:double;
+ absolute_velocity:double;
+ state:uint;
+}
+
+root_type Status;