AP_SmartRTL: fix rangefinder initilization

This commit is contained in:
Michael du Breuil 2019-04-05 13:03:13 -07:00 committed by Peter Barker
parent ca260623cb
commit 6105d31c7c
1 changed files with 1 additions and 1 deletions

View File

@ -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};