mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
APM: removed DMP support from ArduPlane
Without centripetal correction the DMP code will almost certainly crash a plane
This commit is contained in:
parent
6d11940ada
commit
343f7d2de0
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user