AP_NMEA_Output: NavEKF constructors no longer take rangefinder

This commit is contained in:
Peter Barker 2019-12-03 13:11:21 +11:00 committed by Peter Barker
parent a608e9f7d7
commit 248001b404
1 changed files with 2 additions and 3 deletions

View File

@ -49,9 +49,8 @@ static AP_Logger logger{logger_bitmask};
class DummyVehicle { class DummyVehicle {
public: public:
RangeFinder sonar; NavEKF2 EKF2{&ahrs};
NavEKF2 EKF2{&ahrs, sonar}; NavEKF3 EKF3{&ahrs};
NavEKF3 EKF3{&ahrs, 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};
}; };