mirror of https://github.com/ArduPilot/ardupilot
Tracker: AP_AHRS no longer requires GPS in constructor
This commit is contained in:
parent
b25a81e09d
commit
2b36ec618f
|
@ -118,9 +118,9 @@ private:
|
|||
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||
NavEKF2 EKF2{&ahrs, barometer, rng};
|
||||
NavEKF3 EKF3{&ahrs, barometer, rng};
|
||||
AP_AHRS_NavEKF ahrs{ins, barometer, gps, EKF2, EKF3};
|
||||
AP_AHRS_NavEKF ahrs{ins, barometer, EKF2, EKF3};
|
||||
#else
|
||||
AP_AHRS_DCM ahrs{ins, barometer, gps};
|
||||
AP_AHRS_DCM ahrs{ins, barometer};
|
||||
#endif
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
|
|
Loading…
Reference in New Issue