AndersMalmgren / FreePIE

Programmable Input Emulator
649 stars 144 forks source link

Added reset functionality to the SamplePeriodCounter. #171

Open rjbergTU opened 5 years ago

rjbergTU commented 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.

rjbergTU commented 5 years ago

Note, this only works if the Mahony AHRS is used. (That is not the default one.) It has no effect on the SimpleIntegration fuser.