AntennaTracker: changes for new AHRS API

This commit is contained in:
Andrew Tridgell 2015-06-01 16:17:07 +10:00
parent bfb105fa5a
commit fdc0839aaa

View File

@ -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