mirror of https://github.com/ArduPilot/ardupilot
AP_SmartRTL: NavEKF constructors no longer take rangefinder
This commit is contained in:
parent
4ff75d75f8
commit
8281990003
|
@ -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};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue