Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lowpass filtering Sensors #31

shahmirj opened this issue Jan 21, 2014 · 0 comments

Add Lowpass filtering Sensors #31

shahmirj opened this issue Jan 21, 2014 · 0 comments


Copy link

@shahmirj shahmirj commented Jan 21, 2014

Low pass filtering will ensure that values are not overly skewed. For more information refer to

For example:

alpha = 0.5;
g.x = g.x * alpha + (lastg.x * (1.0 - alpha));
g.y = g.y * alpha + (lastg.y * (1.0 - alpha));
g.z = g.z * alpha + (lastg.z * (1.0 - alpha));

where last.{x,y,z} are values previously recorded

@ghost ghost assigned shahmirj Jan 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.