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_navgo.h File Reference

Interface for the IMU on the NavGo board. More...

#include "std.h"
#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "peripherals/itg3200.h"
#include "peripherals/adxl345_i2c.h"
#include "peripherals/hmc58xx.h"
+ Include dependency graph for imu_navgo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImuNavgo
 

Macros

#define IMU_GYRO_P_SIGN   1
 
#define IMU_GYRO_Q_SIGN   1
 
#define IMU_GYRO_R_SIGN   1
 
#define IMU_ACCEL_X_SIGN   1
 
#define IMU_ACCEL_Y_SIGN   1
 
#define IMU_ACCEL_Z_SIGN   1
 
#define IMU_MAG_X_SIGN   1
 
#define IMU_MAG_Y_SIGN   1
 
#define IMU_MAG_Z_SIGN   1
 

Functions

void imu_navgo_event (void)
 
void imu_navgo_downlink_raw (void)
 
static void ImuEvent (void(*_gyro_handler)(void), void(*_accel_handler)(void), void(*_mag_handler)(void))
 

Variables

struct ImuNavgo imu_navgo
 

Detailed Description

Interface for the IMU on the NavGo board.

Interface for the IMU on the Umarim board.

  • Gyroscope: Invensense ITG-3200
  • Accelerometer: Analog Devices ADXL345
  • Magnetometer: Honeywell HMC5883L
  • Gyroscope: Invensense ITG-3200
  • Accelerometer: Analog Devices ADXL345

Definition in file imu_navgo.h.

Macro Definition Documentation

#define IMU_ACCEL_X_SIGN   1

Definition at line 51 of file imu_navgo.h.

#define IMU_ACCEL_Y_SIGN   1

Definition at line 52 of file imu_navgo.h.

#define IMU_ACCEL_Z_SIGN   1

Definition at line 53 of file imu_navgo.h.

#define IMU_GYRO_P_SIGN   1

Definition at line 46 of file imu_navgo.h.

#define IMU_GYRO_Q_SIGN   1

Definition at line 47 of file imu_navgo.h.

#define IMU_GYRO_R_SIGN   1

Definition at line 48 of file imu_navgo.h.

#define IMU_MAG_X_SIGN   1

Definition at line 56 of file imu_navgo.h.

#define IMU_MAG_Y_SIGN   1

Definition at line 57 of file imu_navgo.h.

#define IMU_MAG_Z_SIGN   1

Definition at line 58 of file imu_navgo.h.

Function Documentation

static void ImuEvent ( void(*)(void)  _gyro_handler,
void(*)(void)  _accel_handler,
void(*)(void)  _mag_handler 
)
inlinestatic

Definition at line 78 of file imu_navgo.h.

References ImuNavgo::acc_valid, FALSE, ImuNavgo::gyr_valid, imu_navgo, imu_navgo_event(), and ImuNavgo::mag_valid.

+ Here is the call graph for this function:

Variable Documentation

struct ImuNavgo imu_navgo

Definition at line 63 of file imu_navgo.c.

Referenced by imu_impl_init(), imu_navgo_event(), imu_periodic(), and ImuEvent().