Skip to content

Commit

Permalink
i for got to click the plus
Browse files Browse the repository at this point in the history
  • Loading branch information
KPatel008 committed Mar 3, 2025
1 parent a7ca7e4 commit 87d1b73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public ElevatorIOTalonFX() {
elevatorMotorConfig.CurrentLimits.SupplyCurrentLimitEnable = true;
// in init function, set slot 0 gains
var slot0Configs = new Slot0Configs();
slot0Configs.kP = 0.8; // An error of 1 rotation results in 2.4 V output
slot0Configs.kP = 2.8; // An error of 1 rotation results in 2.4 V output
slot0Configs.kI = 0; // no output for integrated error
slot0Configs.kD = 0.1; // A velocity of 1 rps results in 0.1 V output
slot0Configs.kG = 0.5;
Expand Down

0 comments on commit 87d1b73

Please sign in to comment.