AP_AHRS: Fix example rangefinder init

This commit is contained in:
Michael du Breuil 2019-04-05 02:22:10 -07:00 committed by Peter Barker
parent 698e4e440e
commit 02b4379b6c

View File

@ -24,7 +24,7 @@ static AP_SerialManager serial_manager;
class DummyVehicle { class DummyVehicle {
public: public:
RangeFinder sonar{serial_manager, ROTATION_PITCH_270}; RangeFinder sonar{serial_manager};
NavEKF2 EKF2{&ahrs, sonar}; NavEKF2 EKF2{&ahrs, sonar};
NavEKF3 EKF3{&ahrs, sonar}; NavEKF3 EKF3{&ahrs, sonar};
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF ahrs{EKF2, EKF3,