Skip to content

Commit

Permalink
Constants
Browse files Browse the repository at this point in the history
  • Loading branch information
ds12a committed Apr 10, 2024
1 parent 32ecc5e commit 39ccd67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/constants/MagazineConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static final TalonFXConfiguration getMagazineConfig() {
TalonFXConfiguration config = new TalonFXConfiguration();

Slot0Configs slot0 = new Slot0Configs();
slot0.kP = 0.4;
slot0.kP = 0.2;
slot0.kI = 0.0;
slot0.kD = 0.0;
slot0.kS = 0.0;
Expand All @@ -41,7 +41,7 @@ public static final TalonFXConfiguration getMagazineConfig() {
config.Slot0 = slot0;

MotionMagicConfigs motionMagic =
new MotionMagicConfigs().withMotionMagicAcceleration(300).withMotionMagicJerk(5000);
new MotionMagicConfigs().withMotionMagicAcceleration(500).withMotionMagicJerk(5000);
config.MotionMagic = motionMagic;

config.MotorOutput.NeutralMode = NeutralModeValue.Brake;
Expand Down

0 comments on commit 39ccd67

Please sign in to comment.