ardupilot/libraries/AP_AHRS
Andrew Tridgell 0dcf501766 AP_AHRS: fixed calls to DCM in parent class
use_compass() and reset() are common to AP_AHRS_DCM and
AP_AHRS_NavEKF. As AP_AHRS_NavEKF is a child of AP_AHRS_DCM, when we
call use_compass() from within AP_AHRS_DCM we actually end up calling
AP_AHRS_NavEKF::use_compass().

This has the effect of disabling the compass in DCM when EKF is active
and EKF has decided not to use the compass. That means that the DCM
yaw (and in fact the whole attitude) can get badly off while EKF is
enabled, making DCM an ineffective fallback if EKF fails.

The fix is to call the specific class versions of use_compass() and
reset()
2014-10-15 11:28:23 +09:00
..
examples/AHRS_Test AP_AHRS: fixed example build 2014-08-13 21:46:04 +10:00
AP_AHRS_DCM.cpp AP_AHRS: fixed calls to DCM in parent class 2014-10-15 11:28:23 +09:00
AP_AHRS_DCM.h AHRS: rename ekfNotStarted method to initialised 2014-10-02 15:02:52 +09:00
AP_AHRS_NavEKF.cpp AHRS: rename ekfNotStarted method to initialised 2014-10-02 15:02:52 +09:00
AP_AHRS_NavEKF.h AHRS: rename ekfNotStarted method to initialised 2014-10-02 15:02:52 +09:00
AP_AHRS.cpp AP_AHRS: convert to new GPS API 2014-04-01 06:38:24 +11:00
AP_AHRS.h AHRS: rename ekfNotStarted method to initialised 2014-10-02 15:02:52 +09:00