Browse Source

ACM: enable GPS in AHRS for ArduCopter

this is an experiment in centripetal correction for multicopters
master
Andrew Tridgell 13 years ago
parent
commit
b676caa626
  1. 2
      ArduCopter/ArduCopter.pde

2
ArduCopter/ArduCopter.pde

@ -251,7 +251,7 @@ static GPS *g_gps_null;
#if QUATERNION_ENABLE == ENABLED #if QUATERNION_ENABLE == ENABLED
AP_AHRS_Quaternion ahrs(&imu, g_gps_null); AP_AHRS_Quaternion ahrs(&imu, g_gps_null);
#else #else
AP_AHRS_DCM ahrs(&imu, g_gps_null); AP_AHRS_DCM ahrs(&imu, g_gps);
#endif #endif
AP_TimerProcess timer_scheduler; AP_TimerProcess timer_scheduler;

Loading…
Cancel
Save