Paparazzi UAS  v5.15_devel-88-gb3ad7fe
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ahrs_vectornav_wrapper.c File Reference

Vectornav VN-200 as AHRS. More...

+ Include dependency graph for ahrs_vectornav_wrapper.c:

Go to the source code of this file.

Macros

#define AHRS_VECTORNAV_OUTPUT_ENABLED   TRUE
 

Functions

static void send_euler (struct transport_tx *trans, struct link_device *dev)
 
static bool ahrs_vectornav_enable_output (bool enable)
 
bool ahrs_vectornav_is_enabled (void)
 
void ahrs_vectornav_register (void)
 

Variables

static bool ahrs_vectornav_output_enabled
 if TRUE with push the estimation results to the state interface More...
 
static uint8_t ahrs_vectornav_id = AHRS_COMP_ID_VECTORNAV
 

Detailed Description

Macro Definition Documentation

#define AHRS_VECTORNAV_OUTPUT_ENABLED   TRUE

Definition at line 34 of file ahrs_vectornav_wrapper.c.

Referenced by ahrs_vectornav_register().

Function Documentation

static bool ahrs_vectornav_enable_output ( bool  enable)
static

Definition at line 56 of file ahrs_vectornav_wrapper.c.

References ahrs_vectornav_output_enabled.

Referenced by ahrs_vectornav_register().

+ Here is the caller graph for this function:

bool ahrs_vectornav_is_enabled ( void  )

Definition at line 62 of file ahrs_vectornav_wrapper.c.

References ahrs_vectornav_output_enabled.

Referenced by ahrs_vectornav_event().

+ Here is the caller graph for this function:

void ahrs_vectornav_register ( void  )
static void send_euler ( struct transport_tx *  trans,
struct link_device *  dev 
)
static

Definition at line 45 of file ahrs_vectornav_wrapper.c.

References ahrs_vectornav_id, ahrs_vn, VNData::attitude, FloatEulers::phi, FloatEulers::psi, FloatEulers::theta, and AhrsVectornav::vn_data.

Referenced by ahrs_vectornav_register().

+ Here is the caller graph for this function:

Variable Documentation

uint8_t ahrs_vectornav_id = AHRS_COMP_ID_VECTORNAV
static

Definition at line 40 of file ahrs_vectornav_wrapper.c.

Referenced by send_euler().

bool ahrs_vectornav_output_enabled
static

if TRUE with push the estimation results to the state interface

Definition at line 39 of file ahrs_vectornav_wrapper.c.

Referenced by ahrs_vectornav_enable_output(), and ahrs_vectornav_is_enabled().