Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces 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_init (void)
 
void imu_hbmini_periodic (void)
 
void imu_hbmini_event (void)
 
void imu_hbmini_downlink_raw (void)
 

Variables

struct ImuHbmini imu_hbmini
 

Data Structure Documentation

struct ImuHbmini

Definition at line 61 of file imu_hbmini.h.

+ Collaboration diagram for ImuHbmini:
Data Fields
struct Hmc58xx hmc

Macro Definition Documentation

#define IMU_ACCEL_X_SIGN   1

Definition at line 50 of file imu_hbmini.h.

#define IMU_ACCEL_Y_SIGN   -1

Definition at line 51 of file imu_hbmini.h.

#define IMU_ACCEL_Z_SIGN   -1

Definition at line 52 of file imu_hbmini.h.

#define IMU_GYRO_P_SIGN   -1

Definition at line 45 of file imu_hbmini.h.

#define IMU_GYRO_Q_SIGN   1

Definition at line 46 of file imu_hbmini.h.

#define IMU_GYRO_R_SIGN   -1

Definition at line 47 of file imu_hbmini.h.

#define IMU_MAG_X_SIGN   -1

Definition at line 55 of file imu_hbmini.h.

Referenced by imu_scale_mag().

#define IMU_MAG_Y_SIGN   -1

Definition at line 56 of file imu_hbmini.h.

Referenced by imu_scale_mag().

#define IMU_MAG_Z_SIGN   -1

Definition at line 57 of file imu_hbmini.h.

Referenced by imu_scale_mag().

Function Documentation

void imu_hbmini_init ( void  )

Definition at line 63 of file imu_hbmini.c.

References ImuHbmini::hmc, HMC58XX_ADDR, hmc58xx_init(), imu_hbmini, and max1168_init().

+ Here is the call graph for this function:

void imu_hbmini_periodic ( void  )

Definition at line 72 of file imu_hbmini.c.

References ImuHbmini::hmc, hmc58xx_periodic(), imu_hbmini, and Max1168Periodic.

+ Here is the call graph for this function:

Variable Documentation

struct ImuHbmini imu_hbmini

Definition at line 61 of file imu_hbmini.c.

Referenced by imu_hbmini_event(), imu_hbmini_init(), and imu_hbmini_periodic().