summaryrefslogtreecommitdiff
path: root/altoslib/AltosConvert.java
Commit message (Collapse)AuthorAge
* altoslib: Add support for TeleGPS v2Keith Packard2018-10-20
| | | | | | | The battery voltage ADC values are different from TeleGPS v1 (max 4095 instead of 32767). Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: fix computation of TeleGPS battery voltageBdale Garbee2018-10-20
|
* Bump java lib versions to 13Keith Packard2018-08-15
| | | | 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: Handle EasyMini v2.0 ADC valuesKeith Packard2017-06-11
| | | | | | Different from EasyMini v1.0 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: 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/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 AltosForce and AltosPressure unitsKeith Packard2017-05-09
| | | | | | Useful for TeleFireTwo. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add TeleFireTwo eeprom supportKeith Packard2017-04-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add TeleMini v3 supportKeith Packard2017-02-20
| | | | | | | | eeprom, telemetry and monitor idle. This is just like TeleMini v2, except the ADC ranges are all difference as the voltage dividers are different and the ADC itself has a different range. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2016-05-12
| | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use feet per second for imperial speedKeith Packard2016-04-22
| | | | | | This is more useful during descent than miles per hour... Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library version numbersKeith Packard2016-04-21
| | | | | | Prepare for 1.6.3 release. Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library versionsKeith Packard2016-01-10
| | | | | | altoslib is API incompatible with 1.6.1 release due to altos.state updates. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump Java library versionsKeith Packard2015-07-15
| | | | | | Avoid problems if you have an old version of the library installed Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support TeleBT v3.0 battery voltage conversionKeith Packard2015-06-25
| | | | | | | TeleBT v3.0 uses an STM32 instead of a cc1111, so it needs a different voltage computation from the raw ADC value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2015-02-07
| | | | | | | Lots of minor API/ABI changes; make sure people can install both 1.5 and 1.6 at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* java: Bump java library versions for next releaseKeith Packard2014-06-16
| | | | | | Prepare for future release by bumping java versions now Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add units converters for latitude and longitudeKeith Packard2014-06-14
| | | | | | Makes display of these values consistent across all instances Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add conversion class for voltagesKeith Packard2014-06-13
| | | | | | Provide a common presentation for voltage values Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Recover battery voltage from TeleGPS configuration packetKeith Packard2014-06-07
| | | | | | | | TeleGPS stuffs battery voltage in the apogee_delay slot of the configuration packet. Pull it out from there and stick it into the current state. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: TeleMega uses 5.6k/10k divider for v_battKeith Packard2014-06-07
| | | | | | | I suspect the 15 and 27 values are a 'close approximation' for integer work on the cc1111 devices Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add 'Info' tabKeith Packard2014-05-28
| | | | | | | This contains a summary of the tracking info, including position, speed and course. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Change versions to altoslib:4, altosuilib:2Keith Packard2014-05-25
| | | | | | API has changed for these libraries, time to bump the file versions Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add configuration UI for beeper toneKeith Packard2014-05-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fix EasyMini voltage computationsKeith Packard2014-04-02
| | | | | | | | | | Early Em prototypes had a 3.0V regulator. Early v1.0 boards measured power past the blocking diode. Deal with both conditions to try and report more accurate voltages for EasyMini data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosOrient class and max_orient()Keith Packard2013-12-28
| | | | | | This adds the class necessary to put orient into a UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Bump library versionKeith Packard2013-12-20
| | | | | | | Prepare for next release by making sure we notice that the API/ABI for this library has changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Handle units in pyro config.Keith Packard2013-11-25
| | | | | | | This lets you edit the pyro configuration using imperial units if desired. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Finish AltosState changes. Update version number.Keith Packard2013-09-05
| | | | | | | Removes all of the AltosRecord bits, changes the monitor idle bits to have per-object state updaters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Further AltosState transition workKeith Packard2013-08-31
| | | | | | | Parses most eeprom and telem records now; altosui updated to show from AltosState info. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib, altosui: Restructured state management now does TM eeprom filesKeith Packard2013-08-29
| | | | | | | Removed uses of AltosRecord from AltosState, now just need to rewrite the other AltosState changing code to match Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use preferred units for main deployment height configurationKeith Packard2013-06-11
| | | | | | | Show and accept values in the preferred units; create a separate list of preferred values for each set of units Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altoslib/altosuilib: Switch altosui to shared graph codeKeith Packard2013-02-10
| | | | | | | This adds a configuration tab to the graph window to enable/disable various plotted values. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add version numbers to java librariesKeith Packard2013-01-29
| | | | | | | Make our private java library names include a version number so we can ship and install multiple versions at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
* Change AltosLib to altoslibKeith Packard2013-01-29
| | | | | | Follow Java conventions Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add imperial units conversion supportKeith Packard2012-09-10
| | | | | | "Redneck" mode support Signed-off-by: Keith Packard <keithp@keithp.com>
* Move altoslib sources to top dirKeith Packard2012-06-02
No sense having them live deep in the file system. Signed-off-by: Keith Packard <keithp@keithp.com>