Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ AHRS_VECTORNAV_OUTPUT_ENABLED

#define AHRS_VECTORNAV_OUTPUT_ENABLED   TRUE

Definition at line 34 of file ahrs_vectornav_wrapper.c.

Function Documentation

◆ ahrs_vectornav_enable_output()

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:

◆ ahrs_vectornav_is_enabled()

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:

◆ ahrs_vectornav_register()

void ahrs_vectornav_register ( void  )

◆ send_euler()

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, dev, 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

◆ ahrs_vectornav_id

uint8_t ahrs_vectornav_id = AHRS_COMP_ID_VECTORNAV
static

Definition at line 40 of file ahrs_vectornav_wrapper.c.

Referenced by send_euler().

◆ ahrs_vectornav_output_enabled

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(), ahrs_vectornav_is_enabled(), and ahrs_vectornav_register().