]> git.taranathan.com Git - FRC2026.git/commitdiff
Merge remote-tracking branch 'origin/angle-with-vision' into testing_260329
authorWesleyWong-972 <wesleycwong@gmail.com>
Sun, 29 Mar 2026 17:36:27 +0000 (10:36 -0700)
committerWesleyWong-972 <wesleycwong@gmail.com>
Sun, 29 Mar 2026 17:36:27 +0000 (10:36 -0700)
1  2 
src/main/java/frc/robot/commands/gpm/RunSpindexer.java
src/main/java/frc/robot/subsystems/drivetrain/Drivetrain.java
src/main/java/frc/robot/subsystems/spindexer/Spindexer.java

index c4459e71077476564b273d777ca6b4e56bad02fa,6b95fa48bac1fa060bbe1aa32c26544c6703945b..0fee5390af0cf5cb94aeab8ec6310d96172955a0
@@@ -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;