]> git.taranathan.com Git - FRC2026.git/commitdiff
Merge branch 'shootermotors&auto' into testing_atuos_260329
authoriefomit <timofei.stem@gmail.com>
Wed, 1 Apr 2026 05:50:47 +0000 (22:50 -0700)
committeriefomit <timofei.stem@gmail.com>
Wed, 1 Apr 2026 05:50:47 +0000 (22:50 -0700)
1  2 
src/main/java/frc/robot/subsystems/shooter/Shooter.java

index 670d544487ce321e81b5f03a628cc73b51422e90,10969cdafc7734a01678b1fadf674122c1541a08..74d11314f0e482e7bfb18e5674815a303b10cd8d
@@@ -24,6 -24,10 +24,8 @@@ public class Shooter extends SubsystemB
      private TalonFX shooterMotorLeft = new TalonFX(IdConstants.SHOOTER_LEFT_ID, Constants.CANIVORE_SUB);
      private TalonFX shooterMotorRight = new TalonFX(IdConstants.SHOOTER_RIGHT_ID, Constants.CANIVORE_SUB);
  
 -
+     //TODO Add current limits
 -
      // Goal Velocity / Double theCircumfrence
      private double shooterTargetSpeed = 0;
  
@@@ -39,7 -43,7 +41,7 @@@
          updateInputs();
          
          TalonFXConfiguration config = new TalonFXConfiguration();
-         config.Slot0.kP = 0.5; //0.5 to stop fighting
 -        config.Slot0.kP = 0.5; // 0.5 Stable
++        config.Slot0.kP = 0.5; // 0.5 stable
          config.Slot0.kI = 0;
          config.Slot0.kD = 0.0;
          config.Slot0.kV = 0.125; //Maximum rps = 100 --> 12V/100rps