summaryrefslogtreecommitdiff
path: root/altoslib/AltosCalData.java
Commit message (Collapse)AuthorAge
* altoslib: Remove spurious debug printf in AltosCalDataKeith Packard2018-12-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add ADXL375 support and EasyMega v2.0 supportKeith Packard2018-10-19
| | | | | | EasyMega v2.0 replaces the MMA655X with an ADXL375 part. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java lib versions to 13Keith Packard2018-08-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Keep config data accel cal in antenna up form.Keith Packard2018-04-26
| | | | | | | | | | | | Instead of letting the accel cal data live in whatever form it was fetched in, keep it in antenna up form and provide it in whatever orientation is necessary. This fixes bugs in changing pad configuration where the accel cal values from the old orientation would get used in the new orientation and wreck them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Keep old GPS values when updating dataKeith Packard2017-12-11
| | | | | | | This way, updating satellite information doesn't drop all of the regular GPS data on the floor. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Move temp GPS API from cal_data to data_listenerKeith Packard2017-10-22
| | | | | | | | This makes the API more consistent, and means that the listener is responsible for mangaing the temp gps state. In particular, the AltosDataListener set_gps API now calls the cal_data function. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosuilib,altosui: log_format/device_type TeleGPS selects statelessKeith Packard2017-10-02
| | | | | | | | | 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: Remove debug printf for gyro adjustKeith Packard2017-08-27
| | | | 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: Compute orientation from eeprom data filesKeith Packard2017-06-08
| | | | | | This was lost in the AltosFlightSeries transformation. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: When no boost tick is found, just use first tick in fileKeith Packard2017-05-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Reset transient AltosCalData values before processing dataKeith Packard2017-05-28
| | | | | | | | 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: Ignore invalid accel cal valuesKeith Packard2017-05-28
| | | | | | When both are the same, something is wrong. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Handle eeprom tick wrappingKeith Packard2017-05-28
| | | | | | | | | Need to deal with eeprom files with tick values that cross the 16-bit barrier. Use 'wide_tick' to order eeprom record. Remeber 'prev_tick' to order cal data time sequence. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Extract a few more values from config to cal_dataKeith Packard2017-05-28
| | | | | | Make it possible to display model/version data in the flight stats table. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Allow for other tick sizesKeith Packard2017-05-27
| | | | | | | Use 1/100 sec by default, but provide for MicroPeak which uses a different step. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Preserve old GPS data during operationKeith Packard2017-05-26
| | | | | | | This avoids having the lat/lon values blank out when the GPS receiver looses lock. 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: 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>