mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
Rover: AP_AHRS no longer requires GPS in constructor
This commit is contained in:
parent
e15442355a
commit
7cf2712bf1
@ -168,9 +168,9 @@ private:
|
|||||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||||
NavEKF2 EKF2{&ahrs, barometer, rangefinder};
|
NavEKF2 EKF2{&ahrs, barometer, rangefinder};
|
||||||
NavEKF3 EKF3{&ahrs, barometer, rangefinder};
|
NavEKF3 EKF3{&ahrs, barometer, rangefinder};
|
||||||
AP_AHRS_NavEKF ahrs{ins, barometer, gps, EKF2, EKF3};
|
AP_AHRS_NavEKF ahrs{ins, barometer, EKF2, EKF3};
|
||||||
#else
|
#else
|
||||||
AP_AHRS_DCM ahrs{ins, barometer, gps};
|
AP_AHRS_DCM ahrs{ins, barometer};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Arming/Disarming management class
|
// Arming/Disarming management class
|
||||||
|
Loading…
Reference in New Issue
Block a user