From: iefomit Date: Mon, 30 Mar 2026 01:37:56 +0000 (-0700) Subject: Merge branch 'main' into angle-with-vision X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=2177e6325832043603c5c016057a2e05e4b17c01;p=FRC2026.git Merge branch 'main' into angle-with-vision --- 2177e6325832043603c5c016057a2e05e4b17c01 diff --cc src/main/java/frc/robot/commands/gpm/RunSpindexer.java index 6b95fa4,8f9caab..b813aed --- a/src/main/java/frc/robot/commands/gpm/RunSpindexer.java +++ b/src/main/java/frc/robot/commands/gpm/RunSpindexer.java @@@ -13,12 -15,10 +15,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 boolean wasHoodForcedDown = false; + + private Timer reverseTimer = new Timer(); public RunSpindexer(Spindexer spindexer, Turret turret, Hood hood) { this.spindexer = spindexer; this.turret = turret;