Closed baylessj closed 4 years ago
Work is progressing on this in the feature/statistics
branch. Currently I'm using an EMA filter to make a trend line for the data, but the jagged edges between the data points don't look great.
I'd like to set up spline interpolation between the data points, but finding a good way to do that without requiring a lot of data points is tricky. Found the following resources though:
From the wiki page and a couple posts on SO it seems like Catmull Rom splines are the way to go
I'm getting annoyed with trying to handle the gazillion little details with this feature now, so I'm going to call it done at the slightly gross looking but not too buggy state that it's at now, and the Catmull-Rom splines and other beautification efforts can be added to a future release.
Need to put some content on here. Could have some line graphs of fuel usage and predictions based on the data, maybe a pie graph or two of something?