Browse Source

Plane: change for new AHRS API

mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
df5195e2c9
  1. 4
      ArduPlane/ArduPlane.pde

4
ArduPlane/ArduPlane.pde

@ -275,9 +275,9 @@ AP_InertialSensor_L3G4200D ins; @@ -275,9 +275,9 @@ AP_InertialSensor_L3G4200D ins;
// Inertial Navigation EKF
#if AP_AHRS_NAVEKF_AVAILABLE
AP_AHRS_NavEKF ahrs(ins, g_gps, barometer);
AP_AHRS_NavEKF ahrs(ins, barometer, g_gps);
#else
AP_AHRS_DCM ahrs(ins, g_gps);
AP_AHRS_DCM ahrs(ins, barometer, g_gps);
#endif
static AP_L1_Control L1_controller(ahrs);

Loading…
Cancel
Save