|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
36 #ifndef IMU_BMI088_GYRO_ODR
37 #define IMU_BMI088_GYRO_ODR BMI088_GYRO_ODR_1000_BW_116
41 #ifndef IMU_BMI088_ACCEL_ODR
42 #define IMU_BMI088_ACCEL_ODR BMI088_ACCEL_ODR_1600
46 #ifndef IMU_BMI088_ACCEL_BW
47 #define IMU_BMI088_ACCEL_BW BMI088_ACCEL_BW_OSR4
51 #ifndef IMU_BMI088_GYRO_I2C_ADDR
52 #define IMU_BMI088_GYRO_I2C_ADDR BMI088_GYRO_ADDR
56 #ifndef IMU_BMI088_ACCEL_I2C_ADDR
57 #define IMU_BMI088_ACCEL_I2C_ADDR BMI088_ACCEL_ADDR
62 #ifndef IMU_BMI088_CHAN_X
63 #define IMU_BMI088_CHAN_X 0
66 #ifndef IMU_BMI088_CHAN_Y
67 #define IMU_BMI088_CHAN_Y 1
70 #ifndef IMU_BMI088_CHAN_Z
71 #define IMU_BMI088_CHAN_Z 2
75 #ifndef IMU_BMI088_X_SIGN
76 #define IMU_BMI088_X_SIGN 1
79 #ifndef IMU_BMI088_Y_SIGN
80 #define IMU_BMI088_Y_SIGN 1
83 #ifndef IMU_BMI088_Z_SIGN
84 #define IMU_BMI088_Z_SIGN 1
struct Int32Rates gyro_unscaled
unscaled gyroscope measurements
#define IMU_BMI088_CHAN_X
#define IMU_BMI088_GYRO_I2C_ADDR
#define IMU_BMI088_Y_SIGN
struct Bmi088Config config
enum Bmi088AccelBW accel_bw
bandwidth
void bmi088_i2c_init(struct Bmi088_I2c *bmi, struct i2c_periph *i2c_p, uint8_t gyro_addr, uint8_t accel_addr)
struct Int32Vect3 accel
accelerometer measurements in m/s^2 in BFP with INT32_ACCEL_FRAC
volatile bool accel_available
accel data ready flag
static void bmi088_i2c_periodic(struct Bmi088_I2c *bmi)
convenience function: read or start configuration if not already initialized
union Bmi088_I2c::@308 data_accel
void imu_bmi088_periodic(void)
enum Bmi088GyroRanges gyro_range
deg/s Range
union Bmi088_I2c::@309 data_rates
struct ImuBmi088 imu_bmi088
struct Int32Vect3 accel_unscaled
unscaled accelerometer measurements
#define IMU_BMI088_X_SIGN
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
#define IMU_BMI088_ACCEL_I2C_ADDR
#define IMU_BMI088_CHAN_Y
enum Bmi088AccelODR accel_odr
output data rate
#define IMU_BMI088_GYRO_RANGE
void bmi088_i2c_event(struct Bmi088_I2c *bmi)
Architecture independent timing functions.
void imu_scale_gyro(struct Imu *_imu)
#define IMU_BMI088_ACCEL_RANGE
volatile bool gyro_available
gyro data ready flag
struct Imu imu
global IMU state
enum Bmi088GyroODR gyro_odr
output data rate
#define IMU_BMI088_ACCEL_BW
void imu_bmi088_init(void)
#define IMU_BMI088_CHAN_Z
enum Bmi088AccelRanges accel_range
g Range
#define RATES_COPY(_a, _b)
#define IMU_BMI088_GYRO_ODR
void imu_bmi088_event(void)
#define IMU_BMI088_Z_SIGN
void imu_scale_accel(struct Imu *_imu)
#define VECT3_COPY(_a, _b)
#define IMU_BMI088_ACCEL_ODR
struct Int32Rates gyro
gyroscope measurements in rad/s in BFP with INT32_RATE_FRAC