Use the Bias algorithm to estimate gyroscope offset
mainThe Bias algorithm provides run-time estimation of the gyroscope offset to compensate for temperature variations and fine-tune existing calibrations. It works by detecting stationary periods—when gyroscope measurements remain below a specific threshold for a set duration—and updating the offset using a high-pass filter with a low cutoff frequency. This can be used to clean gyroscope data before passing it to the AHRS algorithm.
To configure the algorithm, use the FusionBiasSettings structure with the FusionBiasSetSettings function.