Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
23 #ifndef ZEPHYR_INCLUDE_ZSL_FUSION_COMPLEMENTARY_H_
24 #define ZEPHYR_INCLUDE_ZSL_FUSION_COMPLEMENTARY_H_
int zsl_fus_comp_init(uint32_t freq, void *cfg)
Sets the sample frequency (in Hz) for the algorithm.
Represents a quaternion, a 4D structure capable of representing 3D rigid body orientations.
void zsl_fus_comp_error(int error)
Default error handler for the complementary sensor fusion driver.
API header file for quaternions in zscilib.
int zsl_fus_comp_feed(struct zsl_vec *a, struct zsl_vec *m, struct zsl_vec *g, zsl_real_t *incl, struct zsl_quat *q, void *cfg)
Complementary sensor fusion algorithm implementation.
API header file for vectors in zscilib.
API header file for attitude and AHRS in zscilib.
API header file for matrices in zscilib.
API header file for zscilib.
Config settings for the complementary sensor fusion algorithm.
zsl_real_t alpha
Value between 0 and 1 used to decide which part of the complementary test is more important,...