Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_apogee.c File Reference

Driver for the IMU on the Apogee board. More...

#include <math.h>
#include "boards/apogee/imu_apogee.h"
#include "mcu_periph/i2c.h"
#include "led.h"
#include "mcu_periph/uart.h"
#include "messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for imu_apogee.c:

Go to the source code of this file.

Macros

#define APOGEE_LOWPASS_FILTER   MPU60X0_DLPF_42HZ
 
#define APOGEE_SMPLRT_DIV   9
 
#define APOGEE_GYRO_RANGE   MPU60X0_GYRO_RANGE_1000
 
#define APOGEE_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_8G
 

Functions

bool_t configure_baro_slave (Mpu60x0ConfigSet mpu_set, void *mpu)
 
void imu_impl_init (void)
 
void imu_periodic (void)
 
void imu_apogee_downlink_raw (void)
 
void imu_apogee_event (void)
 

Variables

struct ImuApogee imu_apogee
 

Detailed Description

Driver for the IMU on the Apogee board.

Invensense MPU-6050

Definition in file imu_apogee.c.

Macro Definition Documentation

#define APOGEE_ACCEL_RANGE   MPU60X0_ACCEL_RANGE_8G

Definition at line 55 of file imu_apogee.c.

Referenced by imu_impl_init().

#define APOGEE_GYRO_RANGE   MPU60X0_GYRO_RANGE_1000

Definition at line 50 of file imu_apogee.c.

Referenced by imu_impl_init().

#define APOGEE_LOWPASS_FILTER   MPU60X0_DLPF_42HZ

Definition at line 42 of file imu_apogee.c.

Referenced by imu_impl_init().

#define APOGEE_SMPLRT_DIV   9

Definition at line 43 of file imu_apogee.c.

Referenced by imu_impl_init().

Function Documentation

bool_t configure_baro_slave ( Mpu60x0ConfigSet  mpu_set,
void *  mpu 
)

Definition at line 64 of file imu_apogee.c.

References TRUE.

Referenced by imu_impl_init().

+ Here is the caller graph for this function:

void imu_apogee_downlink_raw ( void  )
void imu_impl_init ( void  )

Definition at line 68 of file imu_apogee.c.

Referenced by imu_init().

+ Here is the caller graph for this function:

void imu_periodic ( void  )

Definition at line 87 of file imu_apogee.c.

Referenced by main_periodic(), and sensors_task().

+ Here is the caller graph for this function:

Variable Documentation

struct ImuApogee imu_apogee

Definition at line 59 of file imu_apogee.c.

Referenced by baro_periodic(), imu_apogee_event(), imu_impl_init(), imu_periodic(), and ImuEvent().