Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
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 DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE
 
#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

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 58 of file imu_apogee.c.

Referenced by imu_impl_init().

#define APOGEE_GYRO_RANGE   MPU60X0_GYRO_RANGE_1000

Definition at line 53 of file imu_apogee.c.

Referenced by imu_impl_init().

#define APOGEE_LOWPASS_FILTER   MPU60X0_DLPF_42HZ

Definition at line 45 of file imu_apogee.c.

Referenced by imu_impl_init().

#define APOGEE_SMPLRT_DIV   9

Definition at line 46 of file imu_apogee.c.

Referenced by imu_impl_init().

#define DOWNLINK_DEVICE   DOWNLINK_AP_DEVICE

Definition at line 41 of file imu_apogee.c.

Function Documentation

void imu_apogee_downlink_raw ( void  )
void imu_impl_init ( void  )

Definition at line 64 of file imu_apogee.c.

Referenced by imu_init().

+ Here is the caller graph for this function:

void imu_periodic ( void  )

Definition at line 79 of file imu_apogee.c.

Referenced by main_periodic(), main_periodic_task(), and sensors_task().

+ Here is the caller graph for this function:

Variable Documentation

struct ImuApogee imu_apogee

Definition at line 62 of file imu_apogee.c.

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