AP_SmartRTL: EKF objects have moved into AP_AHRS_NavEKF

This commit is contained in:
Peter Barker 2019-12-10 21:47:06 +11:00 committed by Andrew Tridgell
parent a4d9673f39
commit b30004c0a2
1 changed files with 1 additions and 3 deletions

View File

@ -20,9 +20,7 @@ static AP_SerialManager serial_manager;
class DummyVehicle { class DummyVehicle {
public: public:
NavEKF2 EKF2{&ahrs}; AP_AHRS_NavEKF ahrs{AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
NavEKF3 EKF3{&ahrs};
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
}; };
static DummyVehicle vehicle; static DummyVehicle vehicle;