mirror of https://github.com/ArduPilot/ardupilot
Copter: AP_AHRS no longer requires GPS in constructor
This commit is contained in:
parent
2b36ec618f
commit
dda38d65eb
|
@ -208,7 +208,7 @@ private:
|
|||
// Inertial Navigation EKF
|
||||
NavEKF2 EKF2{&ahrs, barometer, rangefinder};
|
||||
NavEKF3 EKF3{&ahrs, barometer, rangefinder};
|
||||
AP_AHRS_NavEKF ahrs{ins, barometer, gps, EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
|
||||
AP_AHRS_NavEKF ahrs{ins, barometer, EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
SITL::SITL sitl;
|
||||
|
|
Loading…
Reference in New Issue