mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-07 09:36:19 +08:00
Revert "Default Aspirin 2.0 Gain"
the 2048 LSB/g were correct for the imu_aspirin2 subsystem.
This reverts commit 4673e1e948.
This commit is contained in:
@@ -71,18 +71,18 @@
|
||||
|
||||
/** default accel sensitivy from the datasheet
|
||||
* MPU60X0 has 2048 LSB/g
|
||||
* fixed point sens: 9.81 [m/s^2] / 1024 [LSB/g] * 2^INT32_ACCEL_FRAC
|
||||
* sens = 9.81 / 1024 * 1024 = 9.81
|
||||
* fixed point sens: 9.81 [m/s^2] / 2048 [LSB/g] * 2^INT32_ACCEL_FRAC
|
||||
* sens = 9.81 / 2048 * 1024 = 4.905
|
||||
*/
|
||||
#if !defined IMU_ACCEL_X_SENS & !defined IMU_ACCEL_Y_SENS & !defined IMU_ACCEL_Z_SENS
|
||||
#define IMU_ACCEL_X_SENS 9.81
|
||||
#define IMU_ACCEL_X_SENS_NUM 9810
|
||||
#define IMU_ACCEL_X_SENS 4.905
|
||||
#define IMU_ACCEL_X_SENS_NUM 4905
|
||||
#define IMU_ACCEL_X_SENS_DEN 1000
|
||||
#define IMU_ACCEL_Y_SENS 9.81
|
||||
#define IMU_ACCEL_Y_SENS_NUM 9810
|
||||
#define IMU_ACCEL_Y_SENS 4.905
|
||||
#define IMU_ACCEL_Y_SENS_NUM 4905
|
||||
#define IMU_ACCEL_Y_SENS_DEN 1000
|
||||
#define IMU_ACCEL_Z_SENS 9.81
|
||||
#define IMU_ACCEL_Z_SENS_NUM 9810
|
||||
#define IMU_ACCEL_Z_SENS 4.905
|
||||
#define IMU_ACCEL_Z_SENS_NUM 4905
|
||||
#define IMU_ACCEL_Z_SENS_DEN 1000
|
||||
#endif
|
||||
#if !defined IMU_ACCEL_X_NEUTRAL & !defined IMU_ACCEL_Y_NEUTRAL & !defined IMU_ACCEL_Z_NEUTRAL
|
||||
|
||||
Reference in New Issue
Block a user