Switch all robots over to use EventLoop
Stop using the old QueueGroup constructor for ControlLoop
Change-Id: I027febf86e75399a97cdb4dc50dbc475705e0393
diff --git a/y2019/control_loops/superstructure/superstructure.cc b/y2019/control_loops/superstructure/superstructure.cc
index 2f0832c..e87ef6e 100644
--- a/y2019/control_loops/superstructure/superstructure.cc
+++ b/y2019/control_loops/superstructure/superstructure.cc
@@ -7,10 +7,9 @@
namespace control_loops {
namespace superstructure {
-Superstructure::Superstructure(
- SuperstructureQueue *superstructure_queue)
- : aos::controls::ControlLoop<SuperstructureQueue>(
- superstructure_queue) {}
+Superstructure::Superstructure(::aos::EventLoop *event_loop,
+ const ::std::string &name)
+ : aos::controls::ControlLoop<SuperstructureQueue>(event_loop, name) {}
void Superstructure::RunIteration(
const SuperstructureQueue::Goal *unsafe_goal,
@@ -29,4 +28,4 @@
} // namespace superstructure
} // namespace control_loops
-} // namespace y2019
\ No newline at end of file
+} // namespace y2019