Paparazzi UAS  v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_px4fmu_v2.4.h File Reference

Driver for pixhawk IMU's. More...

#include "std.h"
#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "subsystems/imu/imu_px4_defaults.h"
#include "peripherals/l3gd20_spi.h"
#include "peripherals/lsm303d_spi.h"
+ Include dependency graph for imu_px4fmu_v2.4.h:

Go to the source code of this file.

Data Structures

struct  ImuPX4
 

Macros

#define IMU_PX4_DISABLE_MAG   FALSE
 

Functions

void imu_px4_init (void)
 
void imu_px4_periodic (void)
 
void imu_px4_event (void)
 

Variables

struct ImuPX4 imu_px4
 

Detailed Description

Driver for pixhawk IMU's.

L3GD20H + LSM303D (both on spi)

Definition in file imu_px4fmu_v2.4.h.


Data Structure Documentation

struct ImuPX4

Definition at line 47 of file imu_px4fmu_v2.4.h.

+ Collaboration diagram for ImuPX4:
Data Fields
struct L3gd20_Spi l3g
struct Lsm303d_Spi lsm_acc
struct Lsm303d_Spi lsm_mag

Macro Definition Documentation

#define IMU_PX4_DISABLE_MAG   FALSE

Definition at line 43 of file imu_px4fmu_v2.4.h.

Function Documentation

void imu_px4_init ( void  )

Definition at line 42 of file imu_px4fmu_v2.4.c.

References ImuPX4::l3g, l3gd20_spi_init(), lsm303d_spi_init(), LSM303D_TARGET_ACC, LSM303D_TARGET_MAG, ImuPX4::lsm_acc, and ImuPX4::lsm_mag.

+ Here is the call graph for this function:

void imu_px4_periodic ( void  )

Definition at line 55 of file imu_px4fmu_v2.4.c.

References imu_px4, ImuPX4::l3g, l3gd20_spi_periodic(), lsm303d_spi_periodic(), ImuPX4::lsm_acc, and ImuPX4::lsm_mag.

+ Here is the call graph for this function:

Variable Documentation

struct ImuPX4 imu_px4

Definition at line 40 of file imu_px4fmu_v2.4.c.

Referenced by imu_px4_event(), and imu_px4_periodic().