mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-29 02:38:07 +08:00
[imu] don't apply IMU mag current calibration in simulation
This commit is contained in:
@@ -232,7 +232,7 @@ void WEAK imu_scale_accel(struct Imu *_imu)
|
|||||||
IMU_ACCEL_Z_SENS_NUM) / IMU_ACCEL_Z_SENS_DEN;
|
IMU_ACCEL_Z_SENS_NUM) / IMU_ACCEL_Z_SENS_DEN;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined IMU_MAG_X_CURRENT_COEF && defined IMU_MAG_Y_CURRENT_COEF && defined IMU_MAG_Z_CURRENT_COEF
|
#if !defined SITL && defined IMU_MAG_X_CURRENT_COEF && defined IMU_MAG_Y_CURRENT_COEF && defined IMU_MAG_Z_CURRENT_COEF
|
||||||
#include "subsystems/electrical.h"
|
#include "subsystems/electrical.h"
|
||||||
void WEAK imu_scale_mag(struct Imu *_imu)
|
void WEAK imu_scale_mag(struct Imu *_imu)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user