Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

Commit

Permalink
fix(swerve): Test slip current for stator current limit.
Browse files Browse the repository at this point in the history
  • Loading branch information
haydenheroux committed May 16, 2024
1 parent 5784d3b commit e54b7ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/swerve/Swerve.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class Swerve extends Subsystem {
motor
.ccwPositive(false)
.motorToMechanismRatio(6.75)
.statorCurrentLimit(60.0)) // TODO Test, 80A -> 60A -> 50A?
.statorCurrentLimit(50.0))
.feedforwardControllerConfig(feedforward -> feedforward.kS(0.14).kV(0.725))
.feedbackControllerConfig(feedback -> feedback.kP(0.75))
.build();
Expand Down

0 comments on commit e54b7ac

Please sign in to comment.