From 6105d31c7cb36edbc6d57f3e20bed11e9860f8cb Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Fri, 5 Apr 2019 13:03:13 -0700 Subject: [PATCH] AP_SmartRTL: fix rangefinder initilization --- libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp index 3d57f2c9e1..0d7a0db170 100644 --- a/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp +++ b/libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp @@ -20,7 +20,7 @@ static AP_SerialManager serial_manager; class DummyVehicle { public: - RangeFinder rangefinder{serial_manager, ROTATION_PITCH_270}; + RangeFinder rangefinder{serial_manager}; NavEKF2 EKF2{&ahrs, rangefinder}; NavEKF3 EKF3{&ahrs, rangefinder}; AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};