Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Interface for the IMU on the NavGo board. More...
#include "std.h"
#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "peripherals/itg3200.h"
#include "peripherals/adxl345_i2c.h"
#include "peripherals/hmc58xx.h"
Go to the source code of this file.
Data Structures | |
struct | ImuNavgo |
Macros | |
#define | IMU_GYRO_P_SIGN 1 |
#define | IMU_GYRO_Q_SIGN 1 |
#define | IMU_GYRO_R_SIGN 1 |
#define | IMU_ACCEL_X_SIGN 1 |
#define | IMU_ACCEL_Y_SIGN 1 |
#define | IMU_ACCEL_Z_SIGN 1 |
#define | IMU_MAG_X_SIGN 1 |
#define | IMU_MAG_Y_SIGN 1 |
#define | IMU_MAG_Z_SIGN 1 |
#define | ImuEvent imu_navgo_event |
Functions | |
void | imu_navgo_event (void) |
void | imu_navgo_downlink_raw (void) |
Variables | |
struct ImuNavgo | imu_navgo |
Interface for the IMU on the NavGo board.
Interface for the IMU on the Umarim board.
Definition in file imu_navgo.h.
struct ImuNavgo |
Definition at line 62 of file imu_navgo.h.
Data Fields | ||
---|---|---|
struct Adxl345_I2c | adxl | |
struct Hmc58xx | hmc | |
struct Itg3200 | itg |
#define IMU_ACCEL_X_SIGN 1 |
Definition at line 51 of file imu_navgo.h.
#define IMU_ACCEL_Y_SIGN 1 |
Definition at line 52 of file imu_navgo.h.
#define IMU_ACCEL_Z_SIGN 1 |
Definition at line 53 of file imu_navgo.h.
#define IMU_GYRO_P_SIGN 1 |
Definition at line 46 of file imu_navgo.h.
#define IMU_GYRO_Q_SIGN 1 |
Definition at line 47 of file imu_navgo.h.
#define IMU_GYRO_R_SIGN 1 |
Definition at line 48 of file imu_navgo.h.
#define IMU_MAG_X_SIGN 1 |
Definition at line 56 of file imu_navgo.h.
#define IMU_MAG_Y_SIGN 1 |
Definition at line 57 of file imu_navgo.h.
#define IMU_MAG_Z_SIGN 1 |
Definition at line 58 of file imu_navgo.h.
#define ImuEvent imu_navgo_event |
Definition at line 74 of file imu_navgo.h.
void imu_navgo_downlink_raw | ( | void | ) |
Definition at line 111 of file imu_navgo.c.
References Imu::accel_unscaled, DefaultChannel, DefaultDevice, Imu::gyro_unscaled, imu, Imu::mag_unscaled, Int32Rates::p, Int32Rates::q, Int32Rates::r, Int32Vect3::x, Int32Vect3::y, and Int32Vect3::z.
void imu_navgo_event | ( | void | ) |
Definition at line 120 of file imu_navgo.c.
References Imu::accel, Imu::accel_unscaled, ImuNavgo::adxl, 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, Imu::gyro_unscaled, ImuNavgo::hmc, hmc58xx_event(), imu, IMU_BOARD_ID, imu_navgo, imu_scale_accel(), imu_scale_gyro(), imu_scale_mag(), ImuNavgo::itg, itg3200_event(), Imu::mag, Imu::mag_unscaled, median_mag, RATES_ASSIGN, UpdateMedianFilterRatesInt, UpdateMedianFilterVect3Int, VECT3_ASSIGN, and VECT3_COPY.
struct ImuNavgo imu_navgo |
Definition at line 64 of file imu_navgo.c.
Referenced by imu_impl_init(), imu_navgo_event(), and imu_periodic().