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/claw/claw_status.fbs b/y2014/control_loops/claw/claw_status.fbs
new file mode 100644
index 0000000..eda9279
--- /dev/null
+++ b/y2014/control_loops/claw/claw_status.fbs
@@ -0,0 +1,21 @@
+namespace y2014.control_loops.claw;
+
+// 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;
+ // True if zeroed as much as we will force during autonomous.
+ zeroed_for_auto:bool;
+ // True if zeroed and within tolerance for separation and bottom angle.
+ done:bool;
+ // 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;
+ // Dump the values of the state matrix.
+ bottom:double;
+ bottom_velocity:double;
+ separation:double;
+ separation_velocity:double;
+}
+
+root_type Status;