mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_SmartRTL: fix rangefinder initilization
This commit is contained in:
parent
ca260623cb
commit
6105d31c7c
@ -20,7 +20,7 @@ static AP_SerialManager serial_manager;
|
|||||||
|
|
||||||
class DummyVehicle {
|
class DummyVehicle {
|
||||||
public:
|
public:
|
||||||
RangeFinder rangefinder{serial_manager, ROTATION_PITCH_270};
|
RangeFinder rangefinder{serial_manager};
|
||||||
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