Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
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 "modules/core/abi.h"
#include "generated/modules.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "modules/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_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 53 of file imu_apogee.c.

Referenced by imu_apogee_init().

◆ APOGEE_SMPLRT_DIV

#define APOGEE_SMPLRT_DIV   9

Definition at line 54 of file imu_apogee.c.

Referenced by imu_apogee_init().

◆ IMU_APOGEE_CHAN_X

#define IMU_APOGEE_CHAN_X   0

Definition at line 43 of file imu_apogee.c.

Referenced by imu_apogee_event().

◆ IMU_APOGEE_CHAN_Y

#define IMU_APOGEE_CHAN_Y   1

Definition at line 46 of file imu_apogee.c.

Referenced by imu_apogee_event().

◆ IMU_APOGEE_CHAN_Z

#define IMU_APOGEE_CHAN_Z   2

Definition at line 49 of file imu_apogee.c.

Referenced by imu_apogee_event().

Function Documentation

◆ configure_baro_slave()

bool configure_baro_slave ( Mpu60x0ConfigSet mpu_set,
void * mpu )

Definition at line 90 of file imu_apogee.c.

Referenced by imu_apogee_init().

Here is the caller graph for this function:

◆ imu_apogee_event()

void imu_apogee_event ( void )

Definition at line 132 of file imu_apogee.c.

References ak8975_event(), get_sys_time_usec(), imu_apogee, IMU_APOGEE_CHAN_X, IMU_APOGEE_CHAN_Y, IMU_APOGEE_CHAN_Z, IMU_BOARD_ID, and mpu60x0_i2c_event().

Here is the call graph for this function:

◆ imu_apogee_init()

◆ imu_apogee_periodic()

void imu_apogee_periodic ( void )

Definition at line 121 of file imu_apogee.c.

References ak8975_periodic(), imu_apogee, and mpu60x0_i2c_periodic().

Here is the call graph for this function:

Variable Documentation

◆ imu_apogee

struct ImuApogee imu_apogee