altoslib: Add 'motor_pressure' data value This value tracks the internal pressure of a motor in Pa. Signed-off-by: Keith Packard <keithp@keithp.com>
Bump java lib versions in preparation for 1.9.2 Quite a few changes; let's bump the version so we don't end up with the wrong version on some machine. Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib: Pass all flight records while reading telem file This makes sure we get complete GPS and setup information before the flight starts. To make this work, have data skipped when building time series instead, and have realtime replay fast-forward through the initial data Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/telegps: Display error message when attempting to graph unknown files Instead of presenting an empty graph window. Signed-off-by: Keith Packard <keithp@keithp.com>
Bump java lib versions to 13 Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib,altosuilib,altosui: log_format/device_type TeleGPS selects stateless When the device being analyzed has no flight state, we want to use the 'stateless' state so that the UI can display reasonable information. This bit was lost in the recent AltosState shuffle and this patch brings it back. Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib: Make cal_data private in AltosDataListener This way we can create it as needed. Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib,altosuilib: Bump library version numbers The API and ABI have changed a bit since 1.7 Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib: Reset transient AltosCalData values before processing data Values in cal_data which are used to hold intermediate results need to get reset back to their initial values before processing a series of flight data again. Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib: Create data file open helper in AltosLib Use InputStream everywhere, instead of Reader. Create private string input stream as java one is deprecated. Signed-off-by: Keith Packard <keithp@keithp.com>
altosdroid: Deal with AltosState changes cal data split out from altos state. altos state needed to have no-arguments constructor for JSON code. Also messed with voice to make it stay quiet during app startup. Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib: Make sure AltosFlightSeries is filled in before use After all of the raw data is captured, the derived data needs to be computed by calling the 'finish' function. Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib,altosuilib,altosui: Get stats and replay working again. 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 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 AltosState 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>
Switch from GPLv2 to GPLv2+ Signed-off-by: Keith Packard <keithp@keithp.com>
Bump java library versions Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
Update java library version numbers Prepare for 1.6.3 release. Signed-off-by: Keith Packard <keithp@keithp.com>
Update java library versions altoslib is API incompatible with 1.6.1 release due to altos.state updates. Signed-off-by: Keith Packard <keithp@keithp.com>
altoslib: Hide 'state' member and use accessor function Someone was smashing the state to 'landed' when no packets had been received for a while. Found that by making it impossible for anyone outside of AltosState to change the value. Signed-off-by: Keith Packard <keithp@keithp.com>