Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "peripherals/itg3200.h"
#include "peripherals/hmc58xx.h"
#include "peripherals/adxl345_i2c.h"
#include "subsystems/imu/imu_aspirin_defaults.h"
Go to the source code of this file.
Data Structures | |
struct | ImuAspirinI2c |
Macros | |
#define | ImuEvent imu_aspirin_i2c_event |
Functions | |
void | imu_aspirin_i2c_event (void) |
Variables | |
struct ImuAspirinI2c | imu_aspirin |
struct ImuAspirinI2c |
Definition at line 43 of file imu_aspirin_i2c.h.
Data Fields | ||
---|---|---|
struct Adxl345_I2c | acc_adxl | |
struct Itg3200 | gyro_itg | |
struct Hmc58xx | mag_hmc |
#define ImuEvent imu_aspirin_i2c_event |
Definition at line 53 of file imu_aspirin_i2c.h.
void imu_aspirin_i2c_event | ( | void | ) |
Definition at line 129 of file imu_aspirin_i2c.c.
References ImuAspirinI2c::acc_adxl, Imu::accel, Imu::accel_unscaled, adxl345_i2c_event(), Adxl345_I2c::data, Hmc58xx::data, Itg3200::data, Adxl345_I2c::data_available, Hmc58xx::data_available, Itg3200::data_available, FALSE, get_sys_time_usec(), Imu::gyro, ImuAspirinI2c::gyro_itg, Imu::gyro_unscaled, hmc58xx_event(), imu, imu_aspirin, IMU_ASPIRIN_ID, imu_scale_accel(), imu_scale_gyro(), imu_scale_mag(), itg3200_event(), Imu::mag, ImuAspirinI2c::mag_hmc, Imu::mag_unscaled, RATES_COPY, VECT3_COPY, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
struct ImuAspirinI2c imu_aspirin |
Definition at line 66 of file imu_aspirin.c.
Referenced by exti15_10_isr(), imu_aspirin_event(), imu_aspirin_i2c_event(), and imu_periodic().