Searched refs:mcfg (Results 1 – 5 of 5) sorted by relevance
/zscilib-3.4.0/src/orientation/fusion/ |
D | aqua.c | 179 struct zsl_fus_aqua_cfg *mcfg = cfg; in zsl_fus_aqua_init() local 181 (void)mcfg; in zsl_fus_aqua_init() 201 struct zsl_fus_aqua_cfg *mcfg = cfg; in zsl_fus_aqua_feed() local 203 if (mcfg->alpha < 0.0 || mcfg->alpha > 1.0 || mcfg->beta < 0.0 || in zsl_fus_aqua_feed() 204 mcfg->beta > 1.0) { in zsl_fus_aqua_feed() 210 zsl_fus_aqua_alpha_init(a, &(mcfg->alpha)); in zsl_fus_aqua_feed() 213 return zsl_fus_aqua(a, m, g, &(mcfg->e_a), &(mcfg->e_m), &(mcfg->alpha), in zsl_fus_aqua_feed() 214 &(mcfg->beta), q); in zsl_fus_aqua_feed()
|
D | complementary.c | 83 struct zsl_fus_comp_cfg *mcfg = cfg; in zsl_fus_comp_init() local 85 (void)mcfg; in zsl_fus_comp_init() 104 struct zsl_fus_comp_cfg *mcfg = cfg; in zsl_fus_comp_feed() local 106 if (mcfg->alpha < 0.0 || mcfg->alpha > 1.0) { in zsl_fus_comp_feed() 110 return zsl_fus_comp(a, m, g, &(mcfg->alpha), q); in zsl_fus_comp_feed()
|
D | kalman.c | 289 struct zsl_fus_kalm_cfg *mcfg = cfg; in zsl_fus_kalm_init() local 291 (void)mcfg; in zsl_fus_kalm_init() 310 struct zsl_fus_kalm_cfg *mcfg = cfg; in zsl_fus_kalm_feed() local 312 if (mcfg->var_g < 0.0 || mcfg->var_a < 0.0 || mcfg->var_m < 0.0) { in zsl_fus_kalm_feed() 319 zsl_fus_kalm_P_init(&(mcfg->P)); in zsl_fus_kalm_feed() 322 return zsl_fus_kalman(g, a, m, &(mcfg->var_g), &(mcfg->var_a), in zsl_fus_kalm_feed() 323 &(mcfg->var_m), incl, &(mcfg->P), q); in zsl_fus_kalm_feed()
|
D | mahony.c | 272 struct zsl_fus_mahn_cfg *mcfg = cfg; in zsl_fus_mahn_init() local 274 (void)mcfg; in zsl_fus_mahn_init() 293 struct zsl_fus_mahn_cfg *mcfg = cfg; in zsl_fus_mahn_feed() local 295 if (mcfg->kp < 0.0 || mcfg->ki < 0.0) { in zsl_fus_mahn_feed() 299 return zsl_fus_mahony(g, a, m, &(mcfg->kp), &(mcfg->ki), &(mcfg->intfb), in zsl_fus_mahn_feed() 300 mcfg->integral_limit, incl, q); in zsl_fus_mahn_feed()
|
D | madgwick.c | 287 struct zsl_fus_madg_cfg *mcfg = cfg; in zsl_fus_madg_init() local 289 (void)mcfg; in zsl_fus_madg_init() 308 struct zsl_fus_madg_cfg *mcfg = cfg; in zsl_fus_madg_feed() local 310 if (mcfg->beta < 0.0) { in zsl_fus_madg_feed() 314 return zsl_fus_madgwick(g, a, m, &(mcfg->beta), incl, q); in zsl_fus_madg_feed()
|