mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Copter: vehicle parent class now instantiates AHRS
This commit is contained in:
parent
d5b970bd18
commit
62869b5be8
@ -318,10 +318,7 @@ 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};
|
||||
// Inertial Navigation EKF - different viewpoint
|
||||
AP_AHRS_View *ahrs_view;
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||
|
Loading…
Reference in New Issue
Block a user