Move VisionStatus to an event loop
Convert the simulation over to using SimulatedEventLoop as well.
Change-Id: I05d837530f83df5432f056ca5ef6515fbab5f897
diff --git a/y2017/control_loops/superstructure/superstructure.h b/y2017/control_loops/superstructure/superstructure.h
index 580b6a5..e387cf2 100644
--- a/y2017/control_loops/superstructure/superstructure.h
+++ b/y2017/control_loops/superstructure/superstructure.h
@@ -4,6 +4,7 @@
#include <memory>
#include "aos/controls/control_loop.h"
+#include "aos/events/event-loop.h"
#include "frc971/control_loops/state_feedback_loop.h"
#include "y2017/control_loops/superstructure/column/column.h"
#include "y2017/control_loops/superstructure/hood/hood.h"
@@ -41,6 +42,8 @@
control_loops::SuperstructureQueue::Status *status) override;
private:
+ ::aos::Fetcher<::y2017::vision::VisionStatus> vision_status_fetcher_;
+
hood::Hood hood_;
intake::Intake intake_;
shooter::Shooter shooter_;