36 #include "generated/airframe.h"
43 #if !defined IMU_GYRO_P_SIGN & !defined IMU_GYRO_Q_SIGN & !defined IMU_GYRO_R_SIGN
44 #define IMU_GYRO_P_SIGN 1
45 #define IMU_GYRO_Q_SIGN 1
46 #define IMU_GYRO_R_SIGN 1
48 #if !defined IMU_ACCEL_X_SIGN & !defined IMU_ACCEL_Y_SIGN & !defined IMU_ACCEL_Z_SIGN
49 #define IMU_ACCEL_X_SIGN 1
50 #define IMU_ACCEL_Y_SIGN 1
51 #define IMU_ACCEL_Z_SIGN 1
59 #if !defined IMU_GYRO_P_SENS & !defined IMU_GYRO_Q_SENS & !defined IMU_GYRO_R_SENS
60 #define IMU_GYRO_P_SENS 4.973
61 #define IMU_GYRO_P_SENS_NUM 4973
62 #define IMU_GYRO_P_SENS_DEN 1000
63 #define IMU_GYRO_Q_SENS 4.973
64 #define IMU_GYRO_Q_SENS_NUM 4973
65 #define IMU_GYRO_Q_SENS_DEN 1000
66 #define IMU_GYRO_R_SENS 4.973
67 #define IMU_GYRO_R_SENS_NUM 4973
68 #define IMU_GYRO_R_SENS_DEN 1000
70 #if !defined IMU_GYRO_P_NEUTRAL & !defined IMU_GYRO_Q_NEUTRAL & !defined IMU_GYRO_R_NEUTRAL
71 #define IMU_GYRO_P_NEUTRAL 0
72 #define IMU_GYRO_Q_NEUTRAL 0
73 #define IMU_GYRO_R_NEUTRAL 0
88 #if !defined IMU_ACCEL_X_SENS & !defined IMU_ACCEL_Y_SENS & !defined IMU_ACCEL_Z_SENS
89 #define IMU_ACCEL_X_SENS 37.91
90 #define IMU_ACCEL_X_SENS_NUM 3791
91 #define IMU_ACCEL_X_SENS_DEN 100
92 #define IMU_ACCEL_Y_SENS 37.91
93 #define IMU_ACCEL_Y_SENS_NUM 3791
94 #define IMU_ACCEL_Y_SENS_DEN 100
95 #define IMU_ACCEL_Z_SENS 39.24
96 #define IMU_ACCEL_Z_SENS_NUM 39.24
97 #define IMU_ACCEL_Z_SENS_DEN 100
99 #if !defined IMU_ACCEL_X_NEUTRAL & !defined IMU_ACCEL_Y_NEUTRAL & !defined IMU_ACCEL_Z_NEUTRAL
100 #define IMU_ACCEL_X_NEUTRAL 0
101 #define IMU_ACCEL_Y_NEUTRAL 0
102 #define IMU_ACCEL_Z_NEUTRAL 0
120 #endif // PPZUAVIMU_H
void imu_umarim_periodic(void)
void imu_umarim_init(void)
void imu_umarim_downlink_raw(void)
struct ImuUmarim imu_umarim
void imu_umarim_event(void)
Driver for the gyro ITG3200 from InvenSense.
Inertial Measurement Unit interface.
Driver for the accelerometer ADXL345 from Analog Devices using I2C.