APM: removed DMP support from ArduPlane

Without centripetal correction the DMP code will almost certainly
crash a plane
This commit is contained in:
Andrew Tridgell 2012-08-22 11:46:35 +10:00
parent 6d11940ada
commit 343f7d2de0
3 changed files with 1 additions and 11 deletions

View File

@ -17,7 +17,6 @@
// simulation. Remove the leading "/* and trailing "*/" to enable:
//#define HIL_MODE HIL_MODE_DISABLED
//#define DMP_ENABLED ENABLED
/*
// HIL_MODE SELECTION

View File

@ -214,11 +214,7 @@ AP_GPS_None g_gps_driver(NULL);
#endif // CONFIG_IMU_TYPE
AP_IMU_INS imu( &ins );
#if DMP_ENABLED == ENABLED && CONFIG_APM_HARDWARE == APM_HARDWARE_APM2
AP_AHRS_MPU6000 ahrs(&imu, g_gps, &ins); // only works with APM2
#else
AP_AHRS_DCM ahrs(&imu, g_gps);
#endif
AP_AHRS_DCM ahrs(&imu, g_gps);
#elif HIL_MODE == HIL_MODE_SENSORS
// sensor emulators

View File

@ -834,11 +834,6 @@
# define RESET_SWITCH_CHAN_PWM 1750
#endif
// experimental mpu6000 DMP code
#ifndef DMP_ENABLED
# define DMP_ENABLED DISABLED
#endif
// OBC Failsafe enable
#ifndef OBC_FAILSAFE
# define OBC_FAILSAFE DISABLED