mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_SmartRTL: rangefinder no longer takes SerialManager in constructor
This commit is contained in:
parent
ca15a24433
commit
21d6f81a12
@ -20,7 +20,7 @@ static AP_SerialManager serial_manager;
|
|||||||
|
|
||||||
class DummyVehicle {
|
class DummyVehicle {
|
||||||
public:
|
public:
|
||||||
RangeFinder rangefinder{serial_manager};
|
RangeFinder rangefinder;
|
||||||
NavEKF2 EKF2{&ahrs, rangefinder};
|
NavEKF2 EKF2{&ahrs, rangefinder};
|
||||||
NavEKF3 EKF3{&ahrs, rangefinder};
|
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
Block a user