AP_SmartRTL: 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 4ff75d75f8
commit 8281990003
1 changed files with 2 additions and 3 deletions

View File

@ -20,9 +20,8 @@ static AP_SerialManager serial_manager;
class DummyVehicle { class DummyVehicle {
public: public:
RangeFinder rangefinder; NavEKF2 EKF2{&ahrs};
NavEKF2 EKF2{&ahrs, rangefinder}; NavEKF3 EKF3{&ahrs};
NavEKF3 EKF3{&ahrs, rangefinder};
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};
}; };