From: WesleyWong-972 Date: Sun, 29 Mar 2026 17:36:27 +0000 (-0700) Subject: Merge remote-tracking branch 'origin/angle-with-vision' into testing_260329 X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=fa1d9d1678a4f65c2f0a8b319600c4683b5a32c7;p=FRC2026.git Merge remote-tracking branch 'origin/angle-with-vision' into testing_260329 --- fa1d9d1678a4f65c2f0a8b319600c4683b5a32c7 diff --cc src/main/java/frc/robot/commands/gpm/RunSpindexer.java index c4459e7,6b95fa4..0fee539 --- a/src/main/java/frc/robot/commands/gpm/RunSpindexer.java +++ b/src/main/java/frc/robot/commands/gpm/RunSpindexer.java @@@ -14,10 -13,12 +14,12 @@@ public class RunSpindexer extends Comma private Turret turret; private Hood hood; - private Debouncer jam_debouncer = new Debouncer(SpindexerConstants.JAM_DEBOUNCE_TIME, DebounceType.kRising); // if their is jam I would think this is 0 -> 1 - private Debouncer reversing_debouncer = new Debouncer(SpindexerConstants.REVERSE_DEBOUNCE_TIME, DebounceType.kFalling); // if there is a release in time Idk what it would be (kfalling vs krising) + private Debouncer jam_debouncer = new Debouncer(SpindexerConstants.JAM_DEBOUNCE_TIME, DebounceType.kRising); // if there is jam I would think this is 0 -> 1 private boolean reversing = false; + private Timer reverseTimer = new Timer(); + private boolean wasHoodForcedDown = false; + public RunSpindexer(Spindexer spindexer, Turret turret, Hood hood) { this.spindexer = spindexer; this.turret = turret;