Add WaitForBallsShot to 2020 autonomous
Change-Id: Ia426978c68866a7b5673306de584f9808c595926
Signed-off-by: Ravago Jones <ravagojones@gmail.com>
diff --git a/y2020/actors/autonomous_actor.h b/y2020/actors/autonomous_actor.h
index 7bdb44b..9c69d57 100644
--- a/y2020/actors/autonomous_actor.h
+++ b/y2020/actors/autonomous_actor.h
@@ -43,6 +43,7 @@
void AutoNavBarrel();
void AutoNavSlalom();
bool DriveFwd();
+ bool WaitForBallsShot(int num_shot);
void Replan();
@@ -56,6 +57,8 @@
superstructure_goal_sender_;
aos::Fetcher<aos::JoystickState> joystick_state_fetcher_;
aos::Fetcher<y2020::vision::GalacticSearchPath> path_fetcher_;
+ aos::Fetcher<y2020::control_loops::superstructure::Status>
+ superstructure_status_fetcher_;
aos::TimerHandler *replan_timer_;