Browse Source

AP_SmartRTL: EKF objects have moved into AP_AHRS_NavEKF

c415-sdk
Peter Barker 5 years ago committed by Andrew Tridgell
parent
commit
b30004c0a2
  1. 4
      libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp

4
libraries/AP_SmartRTL/examples/SmartRTL_test/SmartRTL_test.cpp

@ -20,9 +20,7 @@ static AP_SerialManager serial_manager; @@ -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;

Loading…
Cancel
Save