mirror of https://github.com/ArduPilot/ardupilot
AP_Vehicle: move EKF objects into AP_AHRS_NavEKF
This commit is contained in:
parent
e289020332
commit
373b8be7ef
|
@ -183,9 +183,7 @@ protected:
|
|||
|
||||
// Inertial Navigation EKF
|
||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
NavEKF2 EKF2{&ahrs};
|
||||
NavEKF3 EKF3{&ahrs};
|
||||
AP_AHRS_NavEKF ahrs{EKF2, EKF3};
|
||||
AP_AHRS_NavEKF ahrs;
|
||||
#else
|
||||
AP_AHRS_DCM ahrs;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue