Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
imu_apogee.c File Reference
#include <math.h>
#include "boards/apogee/imu_apogee.h"
#include "mcu_periph/i2c.h"
#include "led.h"
#include "subsystems/abi.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for imu_apogee.c:

Go to the source code of this file.

Macros

#define IMU_APOGEE_CHAN_X   0
 
#define IMU_APOGEE_CHAN_Y   1
 
#define IMU_APOGEE_CHAN_Z   2
 
#define APOGEE_LOWPASS_FILTER   MPU60X0_DLPF_42HZ
 
#define APOGEE_SMPLRT_DIV   9
 

Functions

bool configure_baro_slave (Mpu60x0ConfigSet mpu_set, void *mpu)
 
void imu_apogee_init (void)
 
void imu_apogee_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

◆ APOGEE_LOWPASS_FILTER

#define APOGEE_LOWPASS_FILTER   MPU60X0_DLPF_42HZ

Definition at line 52 of file imu_apogee.c.

◆ APOGEE_SMPLRT_DIV

#define APOGEE_SMPLRT_DIV   9

Definition at line 53 of file imu_apogee.c.

◆ IMU_APOGEE_CHAN_X

#define IMU_APOGEE_CHAN_X   0

Definition at line 42 of file imu_apogee.c.

◆ IMU_APOGEE_CHAN_Y

#define IMU_APOGEE_CHAN_Y   1

Definition at line 45 of file imu_apogee.c.

◆ IMU_APOGEE_CHAN_Z

#define IMU_APOGEE_CHAN_Z   2

Definition at line 48 of file imu_apogee.c.

Function Documentation

◆ configure_baro_slave()

bool configure_baro_slave ( Mpu60x0ConfigSet  mpu_set,
void *  mpu 
)

Definition at line 89 of file imu_apogee.c.

Referenced by imu_apogee_init().

+ Here is the caller graph for this function:

◆ imu_apogee_downlink_raw()

void imu_apogee_downlink_raw ( void  )

◆ imu_apogee_event()

◆ imu_apogee_init()

◆ imu_apogee_periodic()

void imu_apogee_periodic ( void  )

Definition at line 116 of file imu_apogee.c.

References ak8975_periodic(), imu_apogee, ImuApogee::mpu, and mpu60x0_i2c_periodic().

+ Here is the call graph for this function:

Variable Documentation

◆ imu_apogee

struct ImuApogee imu_apogee

Definition at line 85 of file imu_apogee.c.

Referenced by baro_periodic(), imu_apogee_event(), imu_apogee_init(), and imu_apogee_periodic().