summaryrefslogtreecommitdiff
path: root/altoslib/AltosTimeSeries.java
Commit message (Collapse)AuthorAge
* altoslib: Fix time series filter window computationKeith Packard2017-10-12
| | | | | | Small floating point rounding errors could lead to NaNs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add user-selectable filter width for data smoothingKeith Packard2017-10-02
| | | | | | | | | Also switch smoothing window to Kaiser and change default accel filter width to 1 second instead of 4 seconds. Now users can play with the filter and see what it does. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Avoid crashing when computing stats for empty flight logsKeith Packard2017-09-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with multiple motors in flight statsKeith Packard2017-06-27
| | | | | | Combine boost/fast/coast sections when computing ascent stats. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosuilib: Bump library version numbersKeith Packard2017-06-13
| | | | | | The API and ABI have changed a bit since 1.7 Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Keep time series in AltosFlightSeries array sortedKeith Packard2017-06-11
| | | | | | This makes using the graph way easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Return AltosTimeValue from min/max funcsKeith Packard2017-05-27
| | | | | | Allowing the user to have both value and time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Get KML export working againKeith Packard2017-05-26
| | | | | | Even annotate the states with avg speed/accel for fun. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosuilib,altosui: Get stats and replay working again.Keith Packard2017-05-26
| | | | | | | | Stats are really easy with all of the data in memory. Replay takes a special thread to run the data and dump it into a single state. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib/altosui: More work towards using AltosFlightSeries for ↵Keith Packard2017-05-25
| | | | | | | | analysis Graphing and CSV seem complete now; stats still missing lots of stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Do data analysis on raw values rather than AltosStateKeith Packard2017-05-25
| | | | | | | | Use AltosFlightSeries instead of a sequence of AltosState records when processing saved data. This provides a better way of doing filtering and plotting. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Create new abstraction underneath AltosState for recording valuesKeith Packard2017-05-19
| | | | | | | Provides a way for the graph API to see raw data values, instead of those cooked by AltosState. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add initial time series functionsKeith Packard2017-05-19
Provides the basis for offering a sequence of time/value datasets for graphing instead of using AltosState. Signed-off-by: Keith Packard <keithp@keithp.com>