Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
Utility functions for floating point AHRS implementations. More...
#include "math/pprz_algebra_float.h"
#include "subsystems/ahrs/ahrs_magnetic_field_model.h"
#include "std.h"
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) |
Utility functions for floating point AHRS implementations.
Definition in file ahrs_float_utils.h.
|
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().
|
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(), and ahrs_int_get_quat_from_accel().
|
inlinestatic |
Definition at line 83 of file ahrs_float_utils.h.
References ahrs_float_get_quat_from_accel(), float_quat_comp_norm_shortest(), float_quat_normalize(), float_rmat_of_quat(), float_rmat_transp_vmult(), FloatQuat::qi, QUAT_ASSIGN, FloatQuat::qx, FloatQuat::qy, FloatQuat::qz, SQUARE, FloatVect3::x, and FloatVect3::y.
Referenced by ahrs_fc_align(), ahrs_float_invariant_align(), ahrs_int_get_quat_from_accel_mag(), ahrs_mlkf_align(), and ins_float_invariant_align().