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_position.fbs b/y2014/control_loops/shooter/shooter_position.fbs
new file mode 100644
index 0000000..9c73a1a
--- /dev/null
+++ b/y2014/control_loops/shooter/shooter_position.fbs
@@ -0,0 +1,21 @@
+include "frc971/control_loops/control_loops.fbs";
+
+namespace y2014.control_loops.shooter;
+
+// Back is when the springs are all the way stretched.
+table Position {
+ // In meters, out is positive.
+ position:double;
+
+ // If the latch piston is fired and this hall effect has been triggered, the
+ // plunger is all the way back and latched.
+ plunger:bool;
+ // Gets triggered when the pusher is all the way back.
+ pusher_distal:frc971.PosedgeOnlyCountedHallEffectStruct;
+ // Triggers just before pusher_distal.
+ pusher_proximal:frc971.PosedgeOnlyCountedHallEffectStruct;
+ // Triggers when the latch engages.
+ latch:bool;
+}
+
+root_type Position;