Skip to content

Commit

Permalink
Lower MAXSwerve rotation current limit
Browse files Browse the repository at this point in the history
  • Loading branch information
viggy96 committed Mar 14, 2024
1 parent c0207bd commit 8b38e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/lasarobotics/drive/MAXSwerveModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private GearRatio(double value) {

private final double EPSILON = 5e-3;
private final Measure<Current> DRIVE_MOTOR_CURRENT_LIMIT;
private final Measure<Current> ROTATE_MOTOR_CURRENT_LIMIT = Units.Amps.of(20.0);
private final Measure<Current> ROTATE_MOTOR_CURRENT_LIMIT = Units.Amps.of(18.0);
private final Rotation2d LOCK_POSITION = Rotation2d.fromRadians(Math.PI / 4);

private static final String IS_SLIPPING_LOG_ENTRY = "/IsSlipping";
Expand Down

0 comments on commit 8b38e57

Please sign in to comment.