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/y2019/actors/auto_splines.h b/y2019/actors/auto_splines.h
index a55c2f1..5d79ba9 100644
--- a/y2019/actors/auto_splines.h
+++ b/y2019/actors/auto_splines.h
@@ -1,7 +1,9 @@
 #ifndef Y2019_ACTORS_AUTO_SPLINES_H_
 #define Y2019_ACTORS_AUTO_SPLINES_H_
 
-#include "frc971/control_loops/control_loops.q.h"
+#include "aos/events/event_loop.h"
+#include "frc971/control_loops/control_loops_generated.h"
+#include "frc971/control_loops/drivetrain/drivetrain_goal_generated.h"
 /*
 
   The cooridinate system for the autonomous splines is the same as the spline
@@ -17,38 +19,60 @@
   // Splines for 2 Panels on the far side of the Rocket
 
   // Path off of level 2 to the far side of the rocket with a panel
-  static ::frc971::MultiSpline HABToFarRocket(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> HABToFarRocket(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Path from the far side of the rocket to the loading station to pickup
-  static ::frc971::MultiSpline FarRocketToHP(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> FarRocketToHP(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Path from the far side of the rocket to the loading station to pickup
-  static ::frc971::MultiSpline HPToFarRocket(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> HPToFarRocket(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Path from the far side of the rocket to close to the loading station
-  static ::frc971::MultiSpline FarRocketToNearHP(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> FarRocketToNearHP(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Splines for 2 Panels on the far reaches of the cargo ship
 
   // Path from level 2 to 2nd cargo ship bay with a hatch panel
-  static ::frc971::MultiSpline HABToSecondCargoShipBay(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> HABToSecondCargoShipBay(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Path from 2nd cargo ship bay to loading station
-  static ::frc971::MultiSpline SecondCargoShipBayToHP(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> SecondCargoShipBayToHP(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Path from loading station to 3rd cargo ship bay with a hatch panel
-  static ::frc971::MultiSpline HPToThirdCargoShipBay(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> HPToThirdCargoShipBay(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Path from 3rd cargo ship bay to near the loading station
-  static ::frc971::MultiSpline ThirdCargoShipBayToNearHP(bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> ThirdCargoShipBayToNearHP(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
 
   // Testing Splines
-  static ::frc971::MultiSpline HPToNearRocketTest();
-  static ::frc971::MultiSpline HabToFarRocketTest(bool is_left);
-  static ::frc971::MultiSpline FarRocketToHPTest();
+  static flatbuffers::Offset<frc971::MultiSpline> HPToNearRocketTest(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
+  static flatbuffers::Offset<frc971::MultiSpline> HabToFarRocketTest(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder,
+      bool is_left);
+  static flatbuffers::Offset<frc971::MultiSpline> FarRocketToHPTest(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
 
-  static ::frc971::MultiSpline BasicSSpline();
-  static ::frc971::MultiSpline StraightLine();
+  static flatbuffers::Offset<frc971::MultiSpline> BasicSSpline(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
+  static flatbuffers::Offset<frc971::MultiSpline> StraightLine(
+      aos::Sender<frc971::control_loops::drivetrain::Goal>::Builder *builder);
 };
 
 }  // namespace actors