Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
ahrs_vectornav.c File Reference
Include dependency graph for ahrs_vectornav.c:

Go to the source code of this file.

Functions

static void send_vn_info (struct transport_tx *trans, struct link_device *dev)
void ahrs_vectornav_event (void)
 Event handling for Vectornav.
void ahrs_vectornav_init (void)
 Initialize Vectornav struct.
void ahrs_vectornav_propagate (void)
 Read received data.

Variables

struct AhrsVectornav ahrs_vn

Function Documentation

◆ ahrs_vectornav_event()

void ahrs_vectornav_event ( void )

Event handling for Vectornav.

Definition at line 68 of file ahrs_vectornav.c.

References ACCELS_BFP_OF_REAL, ahrs_vectornav_propagate(), ahrs_vn, get_sys_time_usec(), IMU_VECTORNAV_ID, RATES_BFP_OF_REAL, vn200_event(), and vn200_read_message().

Here is the call graph for this function:

◆ ahrs_vectornav_init()

void ahrs_vectornav_init ( void )

Initialize Vectornav struct.

Definition at line 94 of file ahrs_vectornav.c.

References ahrs_vn, DefaultPeriodic, INT32_VECT3_ZERO, register_periodic_telemetry(), send_vn_info(), VNMsgSync, and VNNotTracking.

Referenced by ahrs_vectornav_wrapper_init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ahrs_vectornav_propagate()

void ahrs_vectornav_propagate ( void )

Read received data.

Definition at line 123 of file ahrs_vectornav.c.

References ahrs_vn, float_quat_of_eulers(), float_rmat_ratemult(), orientationGetRMat_f(), stateSetBodyRates_f(), and stateSetNedToBodyQuat_f().

Referenced by ahrs_vectornav_event().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ send_vn_info()

void send_vn_info ( struct transport_tx * trans,
struct link_device * dev )
static

Definition at line 39 of file ahrs_vectornav.c.

References ahrs_vn, and dev.

Referenced by ahrs_vectornav_init(), imu_vectornav_init(), and ins_vectornav_init().

Here is the caller graph for this function:

Variable Documentation

◆ ahrs_vn