From b30004c0a2c4d8b68fc3e41b48238f251bab8472 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 10 Dec 2019 21:47:06 +1100 Subject: [PATCH] AP_SmartRTL: EKF objects have moved into AP_AHRS_NavEKF --- .../AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp index f992f4753f..ca3928d42d 100644 --- a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp +++ b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp @@ -20,9 +20,7 @@ static AP_SerialManager serial_manager; class DummyVehicle { public: - NavEKF2 EKF2{&ahrs}; - NavEKF3 EKF3{&ahrs}; - AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF}; + AP_AHRS_NavEKF ahrs{AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF}; }; static DummyVehicle vehicle;