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_hbmini.h File Reference
#include "std.h"
#include "generated/airframe.h"
#include "subsystems/imu.h"
#include "peripherals/max1168.h"
#include "peripherals/hmc58xx.h"
+ Include dependency graph for imu_hbmini.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ImuHbmini
 

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_hbmini_event (void)
 
void imu_hbmini_downlink_raw (void)
 
static void ImuEvent (void(*_gyro_handler)(void), void(*_accel_handler)(void), void(*_mag_handler)(void))
 

Variables

struct ImuHbmini imu_hbmini
 

Macro Definition Documentation

#define IMU_ACCEL_X_SIGN   1

Definition at line 52 of file imu_hbmini.h.

#define IMU_ACCEL_Y_SIGN   -1

Definition at line 53 of file imu_hbmini.h.

#define IMU_ACCEL_Z_SIGN   -1

Definition at line 54 of file imu_hbmini.h.

#define IMU_GYRO_P_SIGN   -1

Definition at line 47 of file imu_hbmini.h.

#define IMU_GYRO_Q_SIGN   1

Definition at line 48 of file imu_hbmini.h.

#define IMU_GYRO_R_SIGN   -1

Definition at line 49 of file imu_hbmini.h.

#define IMU_MAG_X_SIGN   -1

Definition at line 57 of file imu_hbmini.h.

#define IMU_MAG_Y_SIGN   -1

Definition at line 58 of file imu_hbmini.h.

#define IMU_MAG_Z_SIGN   -1

Definition at line 59 of file imu_hbmini.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_hbmini.h.

References ImuHbmini::acc_valid, FALSE, ImuHbmini::gyr_valid, imu_hbmini, imu_hbmini_event(), and ImuHbmini::mag_valid.

+ Here is the call graph for this function:

Variable Documentation

struct ImuHbmini imu_hbmini

Definition at line 60 of file imu_hbmini.c.

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