mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 20:48:33 -04:00
AP_OpticalFlow: NavEKF constructors no longer take rangefinder
This commit is contained in:
parent
248001b404
commit
4ff75d75f8
@ -28,8 +28,8 @@ public:
|
|||||||
AP_SerialManager serial_manager;
|
AP_SerialManager serial_manager;
|
||||||
RangeFinder sonar;
|
RangeFinder sonar;
|
||||||
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
|
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
|
||||||
NavEKF2 EKF2{&ahrs, sonar};
|
NavEKF2 EKF2{&ahrs};
|
||||||
NavEKF3 EKF3{&ahrs, sonar};
|
NavEKF3 EKF3{&ahrs};
|
||||||
};
|
};
|
||||||
|
|
||||||
static DummyVehicle vehicle;
|
static DummyVehicle vehicle;
|
||||||
|
Loading…
Reference in New Issue
Block a user