|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
36 PRINT_CONFIG_VAR(IMU_LSM_SPI_SLAVE_IDX)
37 PRINT_CONFIG_VAR(IMU_L3G_SPI_SLAVE_IDX)
38 PRINT_CONFIG_VAR(IMU_PX4FMU_SPI_DEV)
49 #if !IMU_PX4_DISABLE_MAG
59 #if !IMU_PX4_DISABLE_MAG
91 #if !IMU_PX4_DISABLE_MAG
struct Int32Rates gyro_unscaled
unscaled gyroscope measurements
volatile bool data_available_acc
data ready flag accelero
union L3gd20_Spi::@321 data_rates
void lsm303d_spi_event(struct Lsm303d_Spi *lsm)
struct Int32Vect3 accel
accelerometer measurements in m/s^2 in BFP with INT32_ACCEL_FRAC
void l3gd20_spi_event(struct L3gd20_Spi *l3g)
int32_t q
in rad/s with INT32_RATE_FRAC
union Lsm303d_Spi::@324 data_accel
volatile bool data_available
data ready flag
struct Int32Vect3 accel_unscaled
unscaled accelerometer measurements
static void l3gd20_spi_periodic(struct L3gd20_Spi *l3g)
convenience function: read or start configuration if not already initialized
uint32_t get_sys_time_usec(void)
Get the time in microseconds since startup.
int32_t p
in rad/s with INT32_RATE_FRAC
static void lsm303d_spi_periodic(struct Lsm303d_Spi *lsm)
convenience function: read or start configuration if not already initialized
struct Lsm303d_Spi lsm_mag
void imu_scale_gyro(struct Imu *_imu)
struct Imu imu
global IMU state
union Lsm303d_Spi::@325 data_mag
struct Lsm303d_Spi lsm_acc
void l3gd20_spi_init(struct L3gd20_Spi *l3g, struct spi_periph *spi_p, uint8_t slave_idx)
void imu_scale_mag(struct Imu *_imu)
void lsm303d_spi_init(struct Lsm303d_Spi *lsm, struct spi_periph *spi_p, uint8_t slave_idx, enum Lsm303dTarget target)
volatile bool data_available_mag
data ready flag magneto
struct Int32Vect3 mag
magnetometer measurements scaled to 1 in BFP with INT32_MAG_FRAC
struct Int32Vect3 mag_unscaled
unscaled magnetometer measurements
void imu_px4_periodic(void)
int32_t r
in rad/s with INT32_RATE_FRAC
void imu_scale_accel(struct Imu *_imu)
#define VECT3_COPY(_a, _b)
struct Int32Rates gyro
gyroscope measurements in rad/s in BFP with INT32_RATE_FRAC