]> git.taranathan.com Git - FRC2026.git/commitdiff
Merge branch 'main' into angle-with-vision
authoriefomit <timofei.stem@gmail.com>
Mon, 30 Mar 2026 01:37:56 +0000 (18:37 -0700)
committeriefomit <timofei.stem@gmail.com>
Mon, 30 Mar 2026 01:37:56 +0000 (18:37 -0700)
1  2 
src/main/java/frc/robot/commands/gpm/RunSpindexer.java

index 6b95fa48bac1fa060bbe1aa32c26544c6703945b,8f9caabe1fc011d3998f64cf9c5b9a20dd83a3c5..b813aed58735e809c133b362428c1b759f2c7941
@@@ -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;