33 #ifndef AHRS_VECTORNAV_OUTPUT_ENABLED
34 #define AHRS_VECTORNAV_OUTPUT_ENABLED TRUE
42 #if PERIODIC_TELEMETRY
45 static void send_euler(
struct transport_tx *trans,
struct link_device *
dev)
47 pprz_msg_send_AHRS_EULER(trans,
dev, AC_ID,
72 #if PERIODIC_TELEMETRY
Main include for ABI (AirBorneInterface).
void ahrs_register_impl(AhrsEnableOutput enable)
Register an AHRS implementation.
Dispatcher to register actual AHRS implementations.
#define AHRS_COMP_ID_VECTORNAV
struct AhrsVectornav ahrs_vn
void ahrs_vectornav_init(void)
Initialize Vectornav struct.
struct VNData vn_data
Data struct.
static bool ahrs_vectornav_output_enabled
if TRUE with push the estimation results to the state interface
bool ahrs_vectornav_is_enabled(void)
void ahrs_vectornav_register(void)
#define AHRS_VECTORNAV_OUTPUT_ENABLED
static uint8_t ahrs_vectornav_id
static void send_euler(struct transport_tx *trans, struct link_device *dev)
static bool ahrs_vectornav_enable_output(bool enable)
Vectornav VN-200 as AHRS.
PRINT_CONFIG_VAR(ONELOOP_ANDI_FILT_CUTOFF)
API to get/set the generic vehicle states.
static const struct usb_device_descriptor dev
int8_t register_periodic_telemetry(struct periodic_telemetry *_pt, uint8_t _id, telemetry_cb _cb)
Register a telemetry callback function.
Periodic telemetry system header (includes downlink utility and generated code).
#define DefaultPeriodic
Set default periodic telemetry.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
struct FloatEulers attitude
Attitude, float, [rad], yaw, pitch, roll.