AP_OpticalFlow: EKF objects have moved into AP_AHRS_NavEKF

This commit is contained in:
Peter Barker 2019-12-10 21:46:56 +11:00 committed by Andrew Tridgell
parent e6150533fc
commit a4d9673f39

View File

@ -27,9 +27,7 @@ public:
AP_InertialSensor ins;
AP_SerialManager serial_manager;
RangeFinder sonar;
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
NavEKF2 EKF2{&ahrs};
NavEKF3 EKF3{&ahrs};
AP_AHRS_NavEKF ahrs{AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
};
static DummyVehicle vehicle;