Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
imu_navgo.h File Reference
#include "std.h"
#include "generated/airframe.h"
#include "subsystems/imu.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.

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
 
#define ImuEvent(_gyro_handler, _accel_handler, _mag_handler)
 

Functions

void imu_navgo_event (void)
 
void imu_navgo_downlink_raw (void)
 

Variables

volatile bool_t gyr_valid
 
volatile bool_t acc_valid
 
volatile bool_t mag_valid
 

Macro Definition Documentation

#define IMU_ACCEL_X_SIGN   1

Definition at line 38 of file imu_navgo.h.

#define IMU_ACCEL_Y_SIGN   1

Definition at line 39 of file imu_navgo.h.

#define IMU_ACCEL_Z_SIGN   1

Definition at line 40 of file imu_navgo.h.

#define IMU_GYRO_P_SIGN   1

Definition at line 33 of file imu_navgo.h.

#define IMU_GYRO_Q_SIGN   1

Definition at line 34 of file imu_navgo.h.

#define IMU_GYRO_R_SIGN   1

Definition at line 35 of file imu_navgo.h.

#define IMU_MAG_X_SIGN   1

Definition at line 43 of file imu_navgo.h.

#define IMU_MAG_Y_SIGN   1

Definition at line 44 of file imu_navgo.h.

#define IMU_MAG_Z_SIGN   1

Definition at line 45 of file imu_navgo.h.

#define ImuEvent (   _gyro_handler,
  _accel_handler,
  _mag_handler 
)
Value:
{ \
if (gyr_valid) { \
_gyro_handler(); \
} \
if (acc_valid) { \
_accel_handler(); \
} \
if (mag_valid) { \
_mag_handler(); \
} \
}
volatile bool_t mag_valid
Definition: imu_navgo.c:57
#define FALSE
Definition: imu_chimu.h:141
volatile bool_t gyr_valid
Definition: imu_navgo.c:55
void imu_navgo_event(void)
Definition: imu_navgo.c:100
volatile bool_t acc_valid
Definition: imu_navgo.c:56

Definition at line 58 of file imu_navgo.h.

Referenced by event_task_ap(), main_event(), and main_event_task().

Function Documentation

Variable Documentation

volatile bool_t acc_valid

Definition at line 56 of file imu_navgo.c.

volatile bool_t gyr_valid

Definition at line 55 of file imu_navgo.c.

volatile bool_t mag_valid

Definition at line 57 of file imu_navgo.c.