mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-04 23:18:28 -04:00
56c8cffc07
this fixes a "climb away" in quadplanes when AHRS_EKF_TYPE=2 and EK2_ENABLE=0. The user has ARMING_CHECK=5390 to disable key arming checks, and the plane flew on DCM as the configured EKF wasn't enabled. This resulted in AHRS::get_origin() returning false as it couldn't ask EKF2 for the origin (as EKF2 was not enabled or instantiated) The result was an incorrect calculation for target height during the descent stage of QRTL, resulting in a climb away until the user took over |
||
---|---|---|
.. | ||
examples/AHRS_Test | ||
AP_AHRS_Backend.cpp | ||
AP_AHRS_Backend.h | ||
AP_AHRS_DCM.cpp | ||
AP_AHRS_DCM.h | ||
AP_AHRS_Logging.cpp | ||
AP_AHRS_View.cpp | ||
AP_AHRS_View.h | ||
AP_AHRS.cpp | ||
AP_AHRS.h | ||
LogStructure.h |