Good news- I'm experimenting with an exponential moving average IIR filter using a particularly fast algorithm implementation. Accelerometer / Yaw sensor is being sampled at 100Hz in the background independent of the logging rate.
The accelerometer filter algorithm is here, if you're curious. https://github.com/autosportlabs/RaceCa ... r_filter.c
Visual observations using the mobile app as a display is looking really good. Just from eyeball response time it looks like an alpha setting of 0.5 to 0.7 will be ideal. Fyi, close to zero alpha = slow response time, 1 = no filtering)
Plan is to test it with with the accelerometer, then make the alpha setting configurable, and then extend it to analog / timer channels.
Almost ready for a Beta-grade firmware; who would like to test it?
Noisy accelerometer / gyro
Moderators: JeffC, rdoherty, stieg
Here is a preview of the 1.2.5 firmware. please give it a spin.
The IIR filtering is sampled at 100Hz with an alpha of 0.1. Default firmware samples accelerometer at 30Hz.
http://autosportlabs.net/asl_dist/rcp/f ... -1.2.5.elf
The IIR filtering is sampled at 100Hz with an alpha of 0.1. Default firmware samples accelerometer at 30Hz.
http://autosportlabs.net/asl_dist/rcp/f ... -1.2.5.elf