Skip to content

Commit

Permalink
brought the ERGSensitivity setting (Kp) so it fits better with the cu…
Browse files Browse the repository at this point in the history
…rrent defaults.
  • Loading branch information
doudar committed Jan 16, 2025
1 parent a9aa97f commit 0bdb092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ERG_Mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ void ErgMode::_setPointChangeState(int newCadence, Measurement& newWatts) {
// PrevError
void ErgMode::_inSetpointState(int newCadence, Measurement& newWatts) {
// Setting Gains For PID Loop
float Kp = userConfig->getERGSensitivity();
float Kp = userConfig->getERGSensitivity()*2;
float Ki = 0.1;
float Kd = 0.1;

Expand Down

0 comments on commit 0bdb092

Please sign in to comment.