5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-03 14:38:30 -04:00

Sub: vehicle parent class now instantiates AHRS

This commit is contained in:
Peter Barker 2019-11-25 10:15:50 +11:00 committed by Peter Barker
parent 16103f08d8
commit d5b970bd18

View File

@ -174,11 +174,6 @@ private:
AP_RPM rpm_sensor;
#endif
// Inertial Navigation EKF
NavEKF2 EKF2{&ahrs, rangefinder};
NavEKF3 EKF3{&ahrs, rangefinder};
AP_AHRS_NavEKF ahrs{EKF2, EKF3, AP_AHRS_NavEKF::FLAG_ALWAYS_USE_EKF};
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
SITL::SITL sitl;
#endif