Awesome, Cheers. Basically I do the rolling average at the start which is just on the 50hz samples and then I used Bézier curves as I expand it-I tried other cubic spline interpolation with libraries in python on a sample dataset but i get the same kinda results. I actually do another slight rolling average after the interpolation but I’m not sure it’s needed yet so will play around and see what can be cut out. You can see line graphs and data in my GitHub repo to see what each stage does.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Awesome, Cheers. Basically I do the rolling average at the start which is just on the 50hz samples and then I used Bézier curves as I expand it-I tried other cubic spline interpolation with libraries in python on a sample dataset but i get the same kinda results. I actually do another slight rolling average after the interpolation but I’m not sure it’s needed yet so will play around and see what can be cut out. You can see line graphs and data in my GitHub repo to see what each stage does.