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.h b/y2019/control_loops/superstructure/superstructure.h
index 1faa6b4..0d6765e 100644
--- a/y2019/control_loops/superstructure/superstructure.h
+++ b/y2019/control_loops/superstructure/superstructure.h
@@ -12,8 +12,9 @@
: public ::aos::controls::ControlLoop<SuperstructureQueue> {
public:
explicit Superstructure(
- SuperstructureQueue *my_superstructure =
- &superstructure_queue);
+ ::aos::EventLoop *event_loop,
+ const ::std::string &name =
+ ".y2019.control_loops.superstructure.superstructure_queue");
protected:
virtual void RunIteration(
@@ -31,4 +32,4 @@
} // namespace control_loops
} // namespace y2019
-#endif // Y2019_CONTROL_LOOPS_SUPERSTRUCTURE_SUPERSTRUCTURE_H_
\ No newline at end of file
+#endif // Y2019_CONTROL_LOOPS_SUPERSTRUCTURE_SUPERSTRUCTURE_H_