mirror of https://github.com/ArduPilot/ardupilot
d7b26a2205
Issue introduced in https://github.com/ArduPilot/ardupilot/pull/27370 and partially fixed in https://github.com/ArduPilot/ardupilot/pull/27762, though evidently not properly tested. Failing to track the maximum can result in dangerously low values being calculated for `ATC_ACCEL_[RPY]_MAX` and the vehicle becoming unflyable. Make the variable a reference so that the maximum value is preserved between function calls. |
||
---|---|---|
.. | ||
AC_AutoTune.cpp | ||
AC_AutoTune.h | ||
AC_AutoTune_FreqResp.cpp | ||
AC_AutoTune_FreqResp.h | ||
AC_AutoTune_Heli.cpp | ||
AC_AutoTune_Heli.h | ||
AC_AutoTune_Multi.cpp | ||
AC_AutoTune_Multi.h | ||
AC_AutoTune_config.h |