Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
23 #ifndef ZEPHYR_INCLUDE_ZSL_FUSION_AQUA_H_
24 #define ZEPHYR_INCLUDE_ZSL_FUSION_AQUA_H_
Config settings for the AQUA sensor fusion algorithm.
Represents a quaternion, a 4D structure capable of representing 3D rigid body orientations.
zsl_real_t alpha
A value between 0.0 and 1.0 which sets the gain for the cut-off frequency of the filter....
int zsl_fus_aqua_init(uint32_t freq, void *cfg)
Sets the sample frequency (in Hz) for the algorithm.
zsl_real_t e_a
Threshold value to determine whether to compute LERP or SLERP to reduce the amount of high frequency ...
zsl_real_t beta
Similar to alpha, this variable is set between 0.0 and 1.0 and is used to control the LERP or SLERP,...
API header file for quaternions in zscilib.
API header file for vectors in zscilib.
API header file for matrices in zscilib.
API header file for zscilib.
int zsl_fus_aqua_feed(struct zsl_vec *a, struct zsl_vec *m, struct zsl_vec *g, zsl_real_t *incl, struct zsl_quat *q, void *cfg)
Algebraic Quaterion Algorithm (AQUA) sensor fusion algorithm implementation.
zsl_real_t e_m
Threshold value to determine whether to compute LERP or SLERP to reduce the amount of high frequency ...
void zsl_fus_aqua_error(int error)
Default error handler for the AQUA sensor fusion driver.