mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 02:58:31 -04:00
AP_AHRS: Fix example rangefinder init
This commit is contained in:
parent
698e4e440e
commit
02b4379b6c
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user