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_status.fbs b/y2022/control_loops/superstructure/superstructure_status.fbs
index 44dc19a..bfa8f3f 100644
--- a/y2022/control_loops/superstructure/superstructure_status.fbs
+++ b/y2022/control_loops/superstructure/superstructure_status.fbs
@@ -51,6 +51,8 @@
// Whether the front/rear intakes currently are holding balls.
front_intake_has_ball:bool (id: 18);
back_intake_has_ball:bool (id: 19);
+ // Whether we just shot a ball and are transitioning a second one
+ transitioning_second_ball:bool (id: 24);
// Whether the flippers are open for shooting
flippers_open:bool (id: 12);
// Whether the flippers failed to open and we are retrying