Don't unwrap the turret when firing a second ball
We only want to do this when intaking the 1st.
Signed-off-by: Milind Upadhyay <milind.upadhyay@gmail.com>
Change-Id: I8bb0ab803e7d2878c5f38dec6e53ed9a235d0764
diff --git a/y2022/control_loops/superstructure/superstructure.h b/y2022/control_loops/superstructure/superstructure.h
index edb3831..5e3415c 100644
--- a/y2022/control_loops/superstructure/superstructure.h
+++ b/y2022/control_loops/superstructure/superstructure.h
@@ -103,6 +103,7 @@
SuperstructureState state_ = SuperstructureState::IDLE;
bool front_intake_has_ball_ = false;
bool back_intake_has_ball_ = false;
+ bool transitioning_second_ball_ = false;
std::optional<double> last_shot_angle_ = std::nullopt;
RequestedIntake turret_intake_state_ = RequestedIntake::kFront;