Make the turret go to the right intake to save time
We weren't latching which intake to go to.
Change-Id: I0e28a80838cd28ac2594d924a9c814b6ff3df8d0
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2022/control_loops/superstructure/superstructure.h b/y2022/control_loops/superstructure/superstructure.h
index 11cd38f..14fa8ab 100644
--- a/y2022/control_loops/superstructure/superstructure.h
+++ b/y2022/control_loops/superstructure/superstructure.h
@@ -94,6 +94,7 @@
SuperstructureState state_ = SuperstructureState::IDLE;
bool front_intake_has_ball_ = false;
bool back_intake_has_ball_ = false;
+ std::optional<double> last_shot_angle_ = std::nullopt;
RequestedIntake turret_intake_state_ = RequestedIntake::kFront;
DISALLOW_COPY_AND_ASSIGN(Superstructure);