mirror of https://github.com/ArduPilot/ardupilot
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 {
|
||||
public:
|
||||
RangeFinder rangefinder{serial_manager, ROTATION_PITCH_270};
|
||||
RangeFinder rangefinder{serial_manager};
|
||||
NavEKF2 EKF2{&ahrs, rangefinder};
|
||||
NavEKF3 EKF3{&ahrs, rangefinder};
|
||||
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
|
||||
|
|
Loading…
Reference in New Issue