Make bump side auto actually run
Make it start, and pull the arm back in at the end.
Change-Id: I724d9101b2dac5cad7f5dd096ee27093fdd52e60
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2023/autonomous/autonomous_actor.cc b/y2023/autonomous/autonomous_actor.cc
index 317ff0c..58c31d0 100644
--- a/y2023/autonomous/autonomous_actor.cc
+++ b/y2023/autonomous/autonomous_actor.cc
@@ -206,6 +206,8 @@
SplineAuto();
} else if (FLAGS_charged_up) {
ChargedUp();
+ } else if (FLAGS_charged_up_cable) {
+ ChargedUpCableSide();
} else {
AOS_LOG(WARNING, "No auto mode selected.");
}
@@ -538,6 +540,9 @@
AOS_LOG(
INFO, "Placed second cube %lf s\n",
aos::time::DurationInSeconds(aos::monotonic_clock::now() - start_time));
+
+ std::this_thread::sleep_for(chrono::milliseconds(200));
+ Neutral();
}
void AutonomousActor::SendSuperstructureGoal() {