Skip to content

Commit

Permalink
amp tooning
Browse files Browse the repository at this point in the history
  • Loading branch information
Ani-8712 committed Oct 8, 2024
1 parent f772d6b commit 7d8426b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ public class ShooterConstants {
kWheelRotationMeters / GlobalConstants.kFalconTicksPerRotation * kGearboxReduction;

// tune ff
public static final double kS = 2.0; // 21.415; // 17.729; // 8.7167;
public static final double kS = 1.6; // 21.415; // 17.729; // 8.7167;
public static final double kV = 0; // 1.5; // 0.28947; // 0.24226;
public static final double kA = 0; // 0.88966; // 0.60231;

public static final SimpleMotorFeedforward ff = new SimpleMotorFeedforward(kS, kV, kA);

public static final double leftKP = 0.3;
public static final double rightKP = 0.3;
public static final double masterKI = 0;
public static final double masterKI = 0.001;
public static final double masterKD = 0;

public static final double kNominalVoltage = 11.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public Command stowChurro() {
}

public Command spinUpAmp() {
return shooterCommands.setVelocity(() -> 6, () -> 1);
return shooterCommands.setVelocity(() -> 4, () -> 1);
}

public Command setShootModeStationary() {
Expand Down

0 comments on commit 7d8426b

Please sign in to comment.