Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_px4_defaults.h File Reference

Default sensitivity definitions for the Pixhawk IMU using the l3d20 gyro and lsm303dlc acc. More...

#include "generated/airframe.h"
+ Include dependency graph for imu_px4_defaults.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IMU_GYRO_P_SENS_NUM   5004
 default gyro sensitivy and neutral from the datasheet L3GD20 has 70e-3 LSB/(deg/s) at 2000deg/s range sens = 70e-3 * pi/180 * 2^INT32_RATE_FRAC sens = (70e-3 / 180.0f) * pi * 4096 More...
 
#define IMU_GYRO_P_SENS_DEN   1000
 
#define IMU_GYRO_Q_SENS_NUM   5004
 
#define IMU_GYRO_Q_SENS_DEN   1000
 
#define IMU_GYRO_R_SENS_NUM   5004
 
#define IMU_GYRO_R_SENS_DEN   1000
 
#define IMU_ACCEL_X_SENS   13.723
 default accel sensitivy from the datasheet LSM303DLHC has 732 LSB/g fixed point sens: 9.81 [m/s^2] / 732 [LSB/g] * 2^INT32_ACCEL_FRAC sens = 9.81 / 732 * 1024 = 13.72 More...
 
#define IMU_ACCEL_X_SENS_NUM   13723
 
#define IMU_ACCEL_X_SENS_DEN   1000
 
#define IMU_ACCEL_Y_SENS   13.723
 
#define IMU_ACCEL_Y_SENS_NUM   13723
 
#define IMU_ACCEL_Y_SENS_DEN   1000
 
#define IMU_ACCEL_Z_SENS   13.723
 
#define IMU_ACCEL_Z_SENS_NUM   13723
 
#define IMU_ACCEL_Z_SENS_DEN   1000
 

Detailed Description

Default sensitivity definitions for the Pixhawk IMU using the l3d20 gyro and lsm303dlc acc.

Definition in file imu_px4_defaults.h.

Macro Definition Documentation

#define IMU_ACCEL_X_SENS   13.723

default accel sensitivy from the datasheet LSM303DLHC has 732 LSB/g fixed point sens: 9.81 [m/s^2] / 732 [LSB/g] * 2^INT32_ACCEL_FRAC sens = 9.81 / 732 * 1024 = 13.72

Definition at line 53 of file imu_px4_defaults.h.

#define IMU_ACCEL_X_SENS_DEN   1000

Definition at line 55 of file imu_px4_defaults.h.

#define IMU_ACCEL_X_SENS_NUM   13723

Definition at line 54 of file imu_px4_defaults.h.

#define IMU_ACCEL_Y_SENS   13.723

Definition at line 56 of file imu_px4_defaults.h.

#define IMU_ACCEL_Y_SENS_DEN   1000

Definition at line 58 of file imu_px4_defaults.h.

#define IMU_ACCEL_Y_SENS_NUM   13723

Definition at line 57 of file imu_px4_defaults.h.

#define IMU_ACCEL_Z_SENS   13.723

Definition at line 59 of file imu_px4_defaults.h.

#define IMU_ACCEL_Z_SENS_DEN   1000

Definition at line 61 of file imu_px4_defaults.h.

#define IMU_ACCEL_Z_SENS_NUM   13723

Definition at line 60 of file imu_px4_defaults.h.

#define IMU_GYRO_P_SENS_DEN   1000

Definition at line 39 of file imu_px4_defaults.h.

#define IMU_GYRO_P_SENS_NUM   5004

default gyro sensitivy and neutral from the datasheet L3GD20 has 70e-3 LSB/(deg/s) at 2000deg/s range sens = 70e-3 * pi/180 * 2^INT32_RATE_FRAC sens = (70e-3 / 180.0f) * pi * 4096

Definition at line 38 of file imu_px4_defaults.h.

#define IMU_GYRO_Q_SENS_DEN   1000

Definition at line 41 of file imu_px4_defaults.h.

#define IMU_GYRO_Q_SENS_NUM   5004

Definition at line 40 of file imu_px4_defaults.h.

#define IMU_GYRO_R_SENS_DEN   1000

Definition at line 43 of file imu_px4_defaults.h.

#define IMU_GYRO_R_SENS_NUM   5004

Definition at line 42 of file imu_px4_defaults.h.