29 #ifndef IMU_DROTEK_10DOF_V2_H
30 #define IMU_DROTEK_10DOF_V2_H
33 #include "generated/airframe.h"
45 #if !defined IMU_GYRO_P_SENS & !defined IMU_GYRO_Q_SENS & !defined IMU_GYRO_R_SENS
47 #define IMU_GYRO_P_SENS 2.17953
48 #define IMU_GYRO_P_SENS_NUM 18271
49 #define IMU_GYRO_P_SENS_DEN 8383
50 #define IMU_GYRO_Q_SENS 2.17953
51 #define IMU_GYRO_Q_SENS_NUM 18271
52 #define IMU_GYRO_Q_SENS_DEN 8383
53 #define IMU_GYRO_R_SENS 2.17953
54 #define IMU_GYRO_R_SENS_NUM 18271
55 #define IMU_GYRO_R_SENS_DEN 8383
62 #if !defined IMU_ACCEL_X_SENS & !defined IMU_ACCEL_Y_SENS & !defined IMU_ACCEL_Z_SENS
64 #define IMU_ACCEL_X_SENS 2.4525
65 #define IMU_ACCEL_X_SENS_NUM 981
66 #define IMU_ACCEL_X_SENS_DEN 400
67 #define IMU_ACCEL_Y_SENS 2.4525
68 #define IMU_ACCEL_Y_SENS_NUM 981
69 #define IMU_ACCEL_Y_SENS_DEN 400
70 #define IMU_ACCEL_Z_SENS 2.4525
71 #define IMU_ACCEL_Z_SENS_NUM 981
72 #define IMU_ACCEL_Z_SENS_DEN 400
void imu_drotek2_init(void)
void imu_drotek2_periodic(void)
void imu_drotek2_event(void)
struct ImuDrotek2 imu_drotek2
Inertial Measurement Unit interface.
Driver for the MPU-60X0 using I2C.
void(* Mpu60x0ConfigSet)(void *mpu, uint8_t _reg, uint8_t _val)
Configuration function prototype.
bool imu_drotek2_configure_mag_slave(Mpu60x0ConfigSet mpu_set, void *mpu)
callback function to configure hmc5883 mag