AP_OpticalFlow: Fix example rangefinder init
This commit is contained in:
parent
3a25897ab4
commit
ca260623cb
@ -26,7 +26,7 @@ public:
|
||||
Compass compass;
|
||||
AP_InertialSensor ins;
|
||||
AP_SerialManager serial_manager;
|
||||
RangeFinder sonar{serial_manager, ROTATION_PITCH_270};
|
||||
RangeFinder sonar{serial_manager};
|
||||
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
|
||||
NavEKF2 EKF2{&ahrs, sonar};
|
||||
NavEKF3 EKF3{&ahrs, sonar};
|
||||
|
Loading…
Reference in New Issue
Block a user