Skip to content

Commit

Permalink
Copter: Autotune: Improve angle limit test Squash
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall committed Feb 23, 2024
1 parent 5578c3a commit ba0a4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AC_AutoTune/AC_AutoTune_Multi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ void AC_AutoTune_Multi::twitching_abort_rate(float angle, float rate, float angl
if (is_equal(rate, meas_rate_min) || (angle_min > 0.95 * angle_max)) {
// we have reached the angle limit before completing the measurement of maximum and minimum
// reduce the maximum target rate
if (step_scaler > 0.25f) {
if (step_scaler > 0.2f) {
step_scaler *= 0.9f;
} else {
LOGGER_WRITE_EVENT(LogEvent::AUTOTUNE_REACHED_LIMIT);
Expand Down

0 comments on commit ba0a4ce

Please sign in to comment.