mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AntennaTracker: changes for new AHRS API
This commit is contained in:
parent
bfb105fa5a
commit
fdc0839aaa
@ -116,7 +116,8 @@ private:
|
|||||||
|
|
||||||
// Inertial Navigation EKF
|
// Inertial Navigation EKF
|
||||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||||
AP_AHRS_NavEKF ahrs{ins, barometer, gps, rng};
|
NavEKF EKF{&ahrs, barometer, rng};
|
||||||
|
AP_AHRS_NavEKF ahrs{ins, barometer, gps, rng, EKF};
|
||||||
#else
|
#else
|
||||||
AP_AHRS_DCM ahrs{ins, barometer, gps};
|
AP_AHRS_DCM ahrs{ins, barometer, gps};
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user