Zephyr Scientific Library (zscilib)
Data Fields
zsl_fus_comp_cfg Struct Reference

Config settings for the complementary sensor fusion algorithm. More...

#include <complementary.h>

Data Fields

zsl_real_t alpha
 Value between 0 and 1 used to decide which part of the complementary test is more important, the gyrpscope predicted orientation or the accel/magpredicted orientation. For more accurate gyroscope data, alpha should be closer to zero. For more accurate accelerometer and magnetometer data, alpha should be closer to 1. More...
 

Detailed Description

Config settings for the complementary sensor fusion algorithm.

Definition at line 41 of file complementary.h.

Field Documentation

◆ alpha

zsl_real_t zsl_fus_comp_cfg::alpha

Value between 0 and 1 used to decide which part of the complementary test is more important, the gyrpscope predicted orientation or the accel/magpredicted orientation. For more accurate gyroscope data, alpha should be closer to zero. For more accurate accelerometer and magnetometer data, alpha should be closer to 1.

Definition at line 50 of file complementary.h.


The documentation for this struct was generated from the following file: