mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 15:38:29 -04:00
Sub: vehicle parent class now instantiates AHRS
This commit is contained in:
parent
16103f08d8
commit
d5b970bd18
@ -174,11 +174,6 @@ private:
|
|||||||
AP_RPM rpm_sensor;
|
AP_RPM rpm_sensor;
|
||||||
#endif
|
#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
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
SITL::SITL sitl;
|
SITL::SITL sitl;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user