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_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_init (void)
 
void imu_navgo_periodic (void)
 
void imu_navgo_event (void)
 
void imu_navgo_downlink_raw (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.


Data Structure Documentation

struct ImuNavgo

Definition at line 62 of file imu_navgo.h.

+ Collaboration diagram for ImuNavgo:
Data Fields
struct Adxl345_I2c adxl
struct Hmc58xx hmc
struct Itg3200 itg

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

void imu_navgo_periodic ( void  )

Definition at line 93 of file imu_navgo.c.

References ImuNavgo::adxl, adxl345_i2c_periodic(), ImuNavgo::hmc, hmc58xx_periodic(), imu_navgo, ImuNavgo::itg, itg3200_periodic(), and NAVGO_ACCEL_RATE.

+ Here is the call graph for this function:

Variable Documentation

struct ImuNavgo imu_navgo

Definition at line 64 of file imu_navgo.c.

Referenced by imu_navgo_event(), imu_navgo_init(), and imu_navgo_periodic().