mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-08 22:53:57 -04:00
Plane: change for new AHRS API
This commit is contained in:
parent
af5a3dff93
commit
df5195e2c9
@ -275,9 +275,9 @@ AP_InertialSensor_L3G4200D ins;
|
|||||||
|
|
||||||
// Inertial Navigation EKF
|
// Inertial Navigation EKF
|
||||||
#if AP_AHRS_NAVEKF_AVAILABLE
|
#if AP_AHRS_NAVEKF_AVAILABLE
|
||||||
AP_AHRS_NavEKF ahrs(ins, g_gps, barometer);
|
AP_AHRS_NavEKF ahrs(ins, barometer, g_gps);
|
||||||
#else
|
#else
|
||||||
AP_AHRS_DCM ahrs(ins, g_gps);
|
AP_AHRS_DCM ahrs(ins, barometer, g_gps);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static AP_L1_Control L1_controller(ahrs);
|
static AP_L1_Control L1_controller(ahrs);
|
||||||
|
Loading…
Reference in New Issue
Block a user