Open rjbergTU opened 5 years ago
By resetting samples to 0 every update cycle, SamplePeriodCounter.SamplePeriod should work better.
Testing done by me seem to indicate that the stationary drift (when the wiimote stays stationary) has decreased by this functionality.
Note, this only works if the Mahony AHRS is used. (That is not the default one.) It has no effect on the SimpleIntegration fuser.
By resetting samples to 0 every update cycle, SamplePeriodCounter.SamplePeriod should work better.
Testing done by me seem to indicate that the stationary drift (when the wiimote stays stationary) has decreased by this functionality.