AP_OpticalFlow: NavEKF constructors no longer take rangefinder

This commit is contained in:
Peter Barker 2019-12-03 13:11:22 +11:00 committed by Peter Barker
parent 248001b404
commit 4ff75d75f8

View File

@ -28,8 +28,8 @@ public:
AP_SerialManager serial_manager; AP_SerialManager serial_manager;
RangeFinder sonar; RangeFinder sonar;
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF}; AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
NavEKF2 EKF2{&ahrs, sonar}; NavEKF2 EKF2{&ahrs};
NavEKF3 EKF3{&ahrs, sonar}; NavEKF3 EKF3{&ahrs};
}; };
static DummyVehicle vehicle; static DummyVehicle vehicle;