Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "modules/imu/imu_px4fmu_v2.4.h"
#include "modules/imu/imu.h"
#include "modules/core/abi.h"
#include "mcu_periph/spi.h"
#include "generated/modules.h"
Go to the source code of this file.
Functions | |
void | imu_px4_init (void) |
void | imu_px4_periodic (void) |
void | imu_px4_event (void) |
Variables | |
struct ImuPX4 | imu_px4 |
void imu_px4_event | ( | void | ) |
Definition at line 80 of file imu_px4fmu_v2.4.c.
References Lsm303d_Spi::data_accel, L3gd20_Spi::data_available, Lsm303d_Spi::data_available_acc, Lsm303d_Spi::data_available_mag, Lsm303d_Spi::data_mag, L3gd20_Spi::data_rates, FALSE, get_sys_time_usec(), imu_px4, IMU_PX4_ID, ImuPX4::l3g, l3gd20_spi_event(), lsm303d_spi_event(), ImuPX4::lsm_acc, ImuPX4::lsm_mag, VECT3_ASSIGN, and VECT3_COPY.
void imu_px4_init | ( | void | ) |
Definition at line 41 of file imu_px4fmu_v2.4.c.
References accel_scale, gyro_scale, imu_px4, IMU_PX4_ID, imu_set_defaults_accel(), imu_set_defaults_gyro(), ImuPX4::l3g, L3GD20_SENS_2000_DEN, L3GD20_SENS_2000_NUM, l3gd20_spi_init(), LSM303D_ACCEL_SENS_16G_DEN, LSM303D_ACCEL_SENS_16G_NUM, lsm303d_spi_init(), LSM303D_TARGET_ACC, LSM303D_TARGET_MAG, ImuPX4::lsm_acc, and ImuPX4::lsm_mag.
void imu_px4_periodic | ( | void | ) |
Definition at line 68 of file imu_px4fmu_v2.4.c.
References imu_px4, ImuPX4::l3g, l3gd20_spi_periodic(), lsm303d_spi_periodic(), ImuPX4::lsm_acc, and ImuPX4::lsm_mag.
struct ImuPX4 imu_px4 |
Definition at line 1 of file imu_px4fmu_v2.4.c.
Referenced by imu_px4_event(), imu_px4_init(), and imu_px4_periodic().