Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Vectornav VN-200 as AHRS. More...
#include "modules/ahrs/ahrs_vectornav_wrapper.h"
#include "modules/ahrs/ahrs.h"
#include "modules/core/abi.h"
#include "state.h"
#include "modules/datalink/telemetry.h"
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 |
Vectornav VN-200 as AHRS.
Definition in file ahrs_vectornav_wrapper.c.
#define AHRS_VECTORNAV_OUTPUT_ENABLED TRUE |
Definition at line 34 of file ahrs_vectornav_wrapper.c.
|
static |
Definition at line 56 of file ahrs_vectornav_wrapper.c.
References ahrs_vectornav_output_enabled.
Referenced by ahrs_vectornav_register().
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().
void ahrs_vectornav_register | ( | void | ) |
Definition at line 66 of file ahrs_vectornav_wrapper.c.
References ahrs_register_impl(), ahrs_vectornav_enable_output(), ahrs_vectornav_init(), AHRS_VECTORNAV_OUTPUT_ENABLED, ahrs_vectornav_output_enabled, DefaultPeriodic, register_periodic_telemetry(), and send_euler().
|
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().
|
static |
Definition at line 40 of file ahrs_vectornav_wrapper.c.
Referenced by send_euler().
|
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().