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/y2017/control_loops/superstructure/superstructure_output.fbs b/y2017/control_loops/superstructure/superstructure_output.fbs
new file mode 100644
index 0000000..5301380
--- /dev/null
+++ b/y2017/control_loops/superstructure/superstructure_output.fbs
@@ -0,0 +1,27 @@
+namespace y2017.control_loops.superstructure;
+
+table Output {
+ // Voltages for some of the subsystems.
+ voltage_intake:double;
+ voltage_indexer:double;
+ voltage_shooter:double;
+
+ // Rollers on the intake.
+ voltage_intake_rollers:double;
+ // Roller on the indexer
+ voltage_indexer_rollers:double;
+
+ voltage_turret:double;
+ voltage_hood:double;
+
+ gear_servo:double;
+
+ // If true, the lights are on.
+ lights_on:bool;
+
+ red_light_on:bool;
+ green_light_on:bool;
+ blue_light_on:bool;
+}
+
+root_type Output;