diff --git a/AntennaTracker/Tracker.h b/AntennaTracker/Tracker.h index 937cccebcb..feaec24521 100644 --- a/AntennaTracker/Tracker.h +++ b/AntennaTracker/Tracker.h @@ -55,6 +55,7 @@ #include #include // main loop scheduler #include +#include #include #include @@ -119,7 +120,8 @@ private: // Inertial Navigation EKF #if AP_AHRS_NAVEKF_AVAILABLE NavEKF EKF{&ahrs, barometer, rng}; - AP_AHRS_NavEKF ahrs{ins, barometer, gps, rng, EKF}; + NavEKF2 EKF2{&ahrs, barometer, rng}; + AP_AHRS_NavEKF ahrs{ins, barometer, gps, rng, EKF, EKF2}; #else AP_AHRS_DCM ahrs{ins, barometer, gps}; #endif