|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Driver for the IMU's in the Cube autopilots. More...
#include "generated/modules.h"#include "modules/imu/imu.h"#include "modules/core/abi.h"#include "mcu_periph/spi.h"#include "peripherals/invensense2.h"#include "peripherals/invensense3.h"#include "peripherals/mpu60x0_spi.h"Go to the source code of this file.
Functions | |
| void | imu_cube_init (void) |
| void | imu_cube_periodic (void) |
| void | imu_cube_event (void) |
Variables | |
| static struct invensense2_t | imu1 |
| static struct Mpu60x0_Spi | imu2 |
| static struct invensense2_t | imu3 |
Driver for the IMU's in the Cube autopilots.
Definition in file imu_cube.c.
| void imu_cube_event | ( | void | ) |
Definition at line 202 of file imu_cube.c.
References get_sys_time_usec(), imu1, imu2, imu3, IMU_CUBE2_ID, invensense2_event(), invensense3_456_event(), invensense3_event(), and mpu60x0_spi_event().
| void imu_cube_init | ( | void | ) |
Definition at line 53 of file imu_cube.c.
References ANGLE_BFP_OF_REAL, imu1, imu2, imu3, IMU_CUBE1_ID, IMU_CUBE2_ID, IMU_CUBE3_ID, imu_set_defaults_accel(), imu_set_defaults_gyro(), int32_rmat_of_eulers, INVENSENSE2_ACCEL_DLPF_265HZ, INVENSENSE2_ACCEL_RANGE_30G, INVENSENSE2_GYRO_DLPF_229HZ, INVENSENSE2_GYRO_RANGE_4000DPS, invensense2_init(), INVENSENSE2_SPI, invensense3_456_init(), INVENSENSE3_456_ODR_6_4KHZ, INVENSENSE3_ACCEL_ODR_4KHZ, INVENSENSE3_ACCEL_RANGE_32G, INVENSENSE3_GYRO_ODR_4KHZ, INVENSENSE3_GYRO_RANGE_2000DPS, invensense3_init(), INVENSENSE3_PARSER_FIFO, INVENSENSE3_SPI, MPU60X0_ACCEL_RANGE_16G, MPU60X0_ACCEL_SENS_F, MPU60X0_DLPF_256HZ, MPU60X0_DLPF_ACC_218HZ, MPU60X0_GYRO_RANGE_2000, MPU60X0_GYRO_SENS_F, mpu60x0_spi_init(), Int32Eulers::phi, Int32Eulers::psi, and Int32Eulers::theta.
| void imu_cube_periodic | ( | void | ) |
Definition at line 185 of file imu_cube.c.
References imu1, imu2, imu3, invensense2_periodic(), invensense3_456_periodic(), invensense3_periodic(), and mpu60x0_spi_periodic().
|
static |
Definition at line 44 of file imu_cube.c.
Referenced by imu_cube_event(), imu_cube_init(), imu_cube_periodic(), imu_pixhawk6x_event(), imu_pixhawk6x_init(), and imu_pixhawk6x_periodic().
|
static |
Definition at line 48 of file imu_cube.c.
Referenced by imu_cube_event(), imu_cube_init(), imu_cube_periodic(), imu_pixhawk6x_event(), imu_pixhawk6x_init(), and imu_pixhawk6x_periodic().
|
static |
Definition at line 50 of file imu_cube.c.
Referenced by imu_cube_event(), imu_cube_init(), imu_cube_periodic(), imu_pixhawk6x_event(), imu_pixhawk6x_init(), and imu_pixhawk6x_periodic().