34 #include "generated/airframe.h"
40 #if !defined IMU_GYRO_P_SIGN & !defined IMU_GYRO_Q_SIGN & !defined IMU_GYRO_R_SIGN
41 #define IMU_GYRO_P_SIGN 1
42 #define IMU_GYRO_Q_SIGN 1
43 #define IMU_GYRO_R_SIGN 1
45 #if !defined IMU_ACCEL_X_SIGN & !defined IMU_ACCEL_Y_SIGN & !defined IMU_ACCEL_Z_SIGN
46 #define IMU_ACCEL_X_SIGN 1
47 #define IMU_ACCEL_Y_SIGN 1
48 #define IMU_ACCEL_Z_SIGN 1
56 #if !defined IMU_GYRO_P_SENS & !defined IMU_GYRO_Q_SENS & !defined IMU_GYRO_R_SENS
58 #define IMU_GYRO_P_SENS 2.17953
59 #define IMU_GYRO_P_SENS_NUM 18271
60 #define IMU_GYRO_P_SENS_DEN 8383
61 #define IMU_GYRO_Q_SENS 2.17953
62 #define IMU_GYRO_Q_SENS_NUM 18271
63 #define IMU_GYRO_Q_SENS_DEN 8383
64 #define IMU_GYRO_R_SENS 2.17953
65 #define IMU_GYRO_R_SENS_NUM 18271
66 #define IMU_GYRO_R_SENS_DEN 8383
68 #if !defined IMU_GYRO_P_NEUTRAL & !defined IMU_GYRO_Q_NEUTRAL & !defined IMU_GYRO_R_NEUTRAL
69 #define IMU_GYRO_P_NEUTRAL 0
70 #define IMU_GYRO_Q_NEUTRAL 0
71 #define IMU_GYRO_R_NEUTRAL 0
79 #if !defined IMU_ACCEL_X_SENS & !defined IMU_ACCEL_Y_SENS & !defined IMU_ACCEL_Z_SENS
81 #define IMU_ACCEL_X_SENS 2.4525
82 #define IMU_ACCEL_X_SENS_NUM 981
83 #define IMU_ACCEL_X_SENS_DEN 400
84 #define IMU_ACCEL_Y_SENS 2.4525
85 #define IMU_ACCEL_Y_SENS_NUM 981
86 #define IMU_ACCEL_Y_SENS_DEN 400
87 #define IMU_ACCEL_Z_SENS 2.4525
88 #define IMU_ACCEL_Z_SENS_NUM 981
89 #define IMU_ACCEL_Z_SENS_DEN 400
91 #if !defined IMU_ACCEL_X_NEUTRAL & !defined IMU_ACCEL_Y_NEUTRAL & !defined IMU_ACCEL_Z_NEUTRAL
92 #define IMU_ACCEL_X_NEUTRAL 0
93 #define IMU_ACCEL_Y_NEUTRAL 0
94 #define IMU_ACCEL_Z_NEUTRAL 0
113 #define ImuEvent imu_apogee_event
115 #endif // IMU_APOGEE_H
void imu_apogee_downlink_raw(void)
void imu_apogee_event(void)
Inertial Measurement Unit interface.
Driver for the MPU-60X0 using I2C.
struct ImuApogee imu_apogee