diff --git a/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp b/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp index a7d73ab3e3..1e327c2bb6 100644 --- a/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp +++ b/libraries/AP_AHRS/examples/AHRS_Test/AHRS_Test.cpp @@ -21,10 +21,10 @@ AP_SerialManager serial_manager; class DummyVehicle { public: RangeFinder sonar {serial_manager}; - AP_AHRS_NavEKF ahrs{ins, barometer, gps, sonar, EKF, EKF2, + AP_AHRS_NavEKF ahrs{ins, barometer, gps, sonar, EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF}; - NavEKF EKF{&ahrs, barometer, sonar}; NavEKF2 EKF2{&ahrs, barometer, sonar}; + NavEKF3 EKF3{&ahrs, barometer, sonar}; }; static DummyVehicle vehicle;