mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Compass: compass calibration requires DCM
This commit is contained in:
parent
7a56d887b9
commit
eb05093f34
@ -3,6 +3,7 @@
|
||||
#include <AP_HAL/AP_HAL_Boards.h>
|
||||
#include <AP_ExternalAHRS/AP_ExternalAHRS_config.h>
|
||||
#include <AP_MSP/msp.h>
|
||||
#include <AP_AHRS/AP_AHRS_config.h>
|
||||
|
||||
#ifndef AP_COMPASS_ENABLED
|
||||
#define AP_COMPASS_ENABLED 1
|
||||
@ -13,7 +14,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef COMPASS_CAL_ENABLED
|
||||
#define COMPASS_CAL_ENABLED AP_COMPASS_ENABLED
|
||||
#define COMPASS_CAL_ENABLED AP_COMPASS_ENABLED && AP_AHRS_DCM_ENABLED
|
||||
#endif
|
||||
|
||||
#define COMPASS_MAX_SCALE_FACTOR 1.5
|
||||
|
Loading…
Reference in New Issue
Block a user