Paparazzi UAS  v5.15_devel-81-gd13dafb
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ahrs_float_utils.h File Reference

Utility functions for floating point AHRS implementations. More...

+ Include dependency graph for ahrs_float_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void ahrs_float_get_euler_from_accel_mag (struct FloatEulers *e, struct FloatVect3 *accel, struct FloatVect3 *mag)
 
static void ahrs_float_get_quat_from_accel (struct FloatQuat *q, struct FloatVect3 *accel)
 Compute a quaternion representing roll and pitch from an accelerometer measurement. More...
 
static void ahrs_float_get_quat_from_accel_mag (struct FloatQuat *q, struct FloatVect3 *accel, struct FloatVect3 *mag)
 

Detailed Description

Utility functions for floating point AHRS implementations.

Definition in file ahrs_float_utils.h.

Function Documentation

static void ahrs_float_get_euler_from_accel_mag ( struct FloatEulers e,
struct FloatVect3 accel,
struct FloatVect3 mag 
)
inlinestatic

Definition at line 38 of file ahrs_float_utils.h.

References EULERS_ASSIGN, FloatVect3::x, FloatVect3::y, and FloatVect3::z.

Referenced by ahrs_dcm_align().

+ Here is the caller graph for this function:

static void ahrs_float_get_quat_from_accel ( struct FloatQuat q,
struct FloatVect3 accel 
)
inlinestatic

Compute a quaternion representing roll and pitch from an accelerometer measurement.

Definition at line 59 of file ahrs_float_utils.h.

References float_quat_normalize(), float_vect3_normalize(), FloatQuat::qi, QUAT_ASSIGN, FloatQuat::qx, FloatQuat::qy, FloatQuat::qz, FloatVect3::x, FloatVect3::y, and FloatVect3::z.

Referenced by ahrs_fc_align(), ahrs_float_get_quat_from_accel_mag(), ahrs_int_get_quat_from_accel(), and ins_float_invariant_align().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void ahrs_float_get_quat_from_accel_mag ( struct FloatQuat q,
struct FloatVect3 accel,
struct FloatVect3 mag 
)
inlinestatic