Posted: Fri Nov 15, 2013 5:44 pm
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?
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?