HAL_ChibiOS: added heater correction of AK09916
this fixes a problem with the internal compass being impacted by the magnetic field from the heater
This commit is contained in:
parent
a90b54ba6e
commit
86fda93781
@ -281,6 +281,10 @@ COMPASS AK8963:probe_mpu9250 1 ROTATION_YAW_270
|
||||
# compass as part of ICM20948 on newer cubes
|
||||
COMPASS AK09916:probe_ICM20948 0 ROTATION_ROLL_180_YAW_90
|
||||
|
||||
# offset the internal compass for EM impact of the IMU heater
|
||||
# this is in sensor frame mGauss
|
||||
define HAL_AK09916_HEATER_OFFSET Vector3f(30,10,235)
|
||||
|
||||
# also probe for external compasses
|
||||
define HAL_PROBE_EXTERNAL_I2C_COMPASSES
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user