Zephyr Scientific Library (zscilib)
|
Go to the documentation of this file.
23 #ifndef ZEPHYR_INCLUDE_ZSL_FUSION_KALMAN_H_
24 #define ZEPHYR_INCLUDE_ZSL_FUSION_KALMAN_H_
struct zsl_mtx P
The predicted error state covariance, which is updated every iteration. Its first value (P0) is a 4x4...
Represents a quaternion, a 4D structure capable of representing 3D rigid body orientations.
Represents a m x n matrix, with data stored in row-major order.
Config settings for the extended Kalman filter.
zsl_real_t var_g
Noise spectral density of the gyroscope, in rad/s.
API header file for quaternions in zscilib.
API header file for vectors in zscilib.
int zsl_fus_kalm_init(uint32_t freq, void *cfg)
Sets the sample frequency (in Hz) for the algorithm.
zsl_real_t var_a
Noise spectral density of the accelerometer, in m/s.
void zsl_fus_kalm_error(int error)
Default error handler for the extended Kalman filter driver.
API header file for matrices in zscilib.
API header file for zscilib.
zsl_real_t var_m
Noise spectral density of the magnetometer, in micro Tesla.
int zsl_fus_kalm_feed(struct zsl_vec *a, struct zsl_vec *m, struct zsl_vec *g, zsl_real_t *incl, struct zsl_quat *q, void *cfg)
Extended Kalman filter algorithm implementation.