Thom Nichols

Thom

Technology is evolution outside the gene pool

Articles tagged with 'data'

Smoothing Sensor Data with a Low-Pass Filter

If you search StackOverflow, there are a number of posts about Android sensor data being very jittery, and suggestions on implementing a smoothing algorithm.  Well not many people have actually posted a smoothing algorithm, and those that I have seen tend to be fairly complex.  

After some searching, I came to the Wikipedia entry for Low Pass Filter.  There's a pseudocode algorithm that I adapted for Java ...