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/y2016/queues/ball_detector.fbs b/y2016/queues/ball_detector.fbs
new file mode 100644
index 0000000..c4ef07c
--- /dev/null
+++ b/y2016/queues/ball_detector.fbs
@@ -0,0 +1,15 @@
+namespace y2016.sensors;
+
+// Published on "/superstructure"
+table BallDetector {
+ // Voltage measured by the ball detector sensor.
+
+ // Higher voltage means ball is closer to detector, lower voltage means ball
+ // is far from the sensor or not in the robot at all.
+ // TODO(comran): Check to see if our sensor's output corresponds with the
+ // comment above.
+
+ voltage:double;
+}
+
+root_type BallDetector;