Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Interface for I2c IMU using using L3G4200, ADXL345, HMC5883 and BMP085. More...
#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "subsystems/imu/imu_gl1_defaults.h"
#include "peripherals/l3g4200.h"
#include "peripherals/hmc58xx.h"
#include "peripherals/adxl345_i2c.h"
Go to the source code of this file.
Data Structures | |
struct | ImuGL1I2c |
Macros | |
#define | ImuEvent imu_gl1_i2c_event |
Functions | |
void | imu_gl1_i2c_event (void) |
Variables | |
struct ImuGL1I2c | imu_gl1 |
Interface for I2c IMU using using L3G4200, ADXL345, HMC5883 and BMP085.
Definition in file imu_gl1.h.
struct ImuGL1I2c |
Data Fields | ||
---|---|---|
struct Adxl345_I2c | acc_adxl | |
struct L3g4200 | gyro_l3g | |
struct Hmc58xx | mag_hmc |
#define ImuEvent imu_gl1_i2c_event |
void imu_gl1_i2c_event | ( | void | ) |
Definition at line 118 of file imu_gl1.c.
References ImuGL1I2c::acc_adxl, Imu::accel, Imu::accel_unscaled, adxl345_i2c_event(), Adxl345_I2c::data, Hmc58xx::data, L3g4200::data, Adxl345_I2c::data_available, Hmc58xx::data_available, L3g4200::data_available, FALSE, get_sys_time_usec(), Imu::gyro, ImuGL1I2c::gyro_l3g, Imu::gyro_unscaled, hmc58xx_event(), imu, imu_gl1, IMU_GL1_ID, imu_scale_accel(), imu_scale_gyro(), imu_scale_mag(), l3g4200_event(), Imu::mag, ImuGL1I2c::mag_hmc, Imu::mag_unscaled, Int32Rates::p, Int32Rates::q, Int32Rates::r, RATES_COPY, VECT3_COPY, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
struct ImuGL1I2c imu_gl1 |
Definition at line 78 of file imu_gl1.c.
Referenced by imu_gl1_i2c_event(), and imu_periodic().