summaryrefslogtreecommitdiff
path: root/altoslib/AltosLib.java
Commit message (Collapse)AuthorAge
* 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: Create data file open helper in AltosLibKeith Packard2017-05-28
| | | | | | | Use InputStream everywhere, instead of Reader. Create private string input stream as java one is deprecated. 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>
* 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>
* altoslib: Store saved state in version-independent formatKeith Packard2016-05-12
| | | | | | | Use AltosHashSet for AltosState so that AltosDroid doesn't lose tracker information when the application is upgraded. 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>
* Update java library version numbersKeith Packard2016-04-21
| | | | | | Prepare for 1.6.3 release. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: use env var LAUNCH_SITES to override default URLKeith Packard2016-03-26
| | | | | | This makes it easier to debug new launch site data before uploading. 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/altosuilib: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Add config option for APRS formatKeith Packard2015-03-02
| | | | | | Allow configuration of APRS compressed/uncompressed 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>
* altoslib: Add usbtrng, usbrelay and mpusb USB idsKeith Packard2014-12-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Pop up 'Connecting' dialog during Monitor IdleKeith Packard2014-10-30
| | | | | | | This was a bit harder than expected as I had to wire up a way to shut down the whole monitor idle window when you clicked on the cancel button. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compute tilt angle from eeprom dataKeith Packard2014-10-04
| | | | | | | | | | | | | | | | This copies the computation of tilt angle from the firmware so that post-flight analysis can also show the data. This change also renames all of the imu values to make them easier to understand: accel gyro axis along roll length of the board across pitch across the board through yaw through the board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with new Mega log format that has 32-bit gyro calKeith Packard2014-10-04
| | | | | | | This adds parsing for the new log format type to get all 32 bits of the gyro calibration data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Add EasyMega supportKeith Packard2014-09-09
| | | | | | | This makes flashing find the right files, and Monitor Idle show all of the state data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Improve performance of AltosLib.hexbytesKeith Packard2014-08-17
| | | | | | | On an android device, this function was spending quite a bit of time calling hexbyte. Open code the conversion to improve performance. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Parse eeprom 'altitude-32' fieldsKeith Packard2014-07-14
| | | | | | | This lets us tell if the altimeter supports 32-bit GPS altitudes in the eeprom log. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clean up GPS DOP support in AltosStateKeith Packard2014-07-10
| | | | | | | | | Parse out hdop/pdop/vdop from telem and eeprom. Deal with legacy eeprom files that have dop/100 instead of dop/10 values. Clear state DOP values to MISSING at startup Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support multiple telemetry ratesKeith Packard2014-07-05
| | | | | | | Altos now supports 2400 and 9600 baud in addition to the classic 38400 baud rate. Add support to altoslib for these as well 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 new 'stateless' flight state for TeleGPSKeith Packard2014-06-10
| | | | | | | TeleGPS has no flight state, so add a new 'stateless' state for code to handle this case differently than any of the existing states Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add TeleGPS log parsing codeKeith Packard2014-06-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add graph displayKeith Packard2014-05-29
| | | | | | Moved the altosui graph files to altosuilib and fixed things up. 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>
* altoslib/altosui/altosuilib/libaltos: Remove trailing whitespaceKeith Packard2014-04-11
| | | | | | Just cleaning up the source code. 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>
* altoslib: Define 3.8 as a good battery and 3.5 as a good igniterKeith Packard2013-12-18
| | | | | | | Use defined values everywhere instead of copying. Adjust battery up to 3.8 to ensure there's enough voltage to not trip the comparators Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Publish mapping from product name back to USB idKeith Packard2013-12-08
| | | | | | This lets us choose which device to flash based on the filename Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Include device name in Table viewKeith Packard2013-09-06
| | | | | | It's part of the telemetry, so we might as well display it 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: Add EasyMini USB idsKeith Packard2013-06-24
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add Mini logging format. Use in EasyMinilpcKeith Packard2013-05-19
| | | | | | | This is a 16-byte record that includes all of the sensor data in each sensor record, along with records for flight state changes. Signed-off-by: Keith Packard <keithp@keithp.com>
* name change from MegaMetrum to TeleMegaBdale Garbee2013-04-22
|
* Set telegps USB id to 0025Keith Packard2013-04-02
| | | | | | It was accidentally using the same ID as megadongle... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Stick file basename in graph window titleKeith Packard2013-02-11
| | | | | | The title was empty before, this seems more useful than that. 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: capitalize 'Invalid' state name appropriatelyKeith Packard2012-10-22
| | | | | | | It shouldn't ever appear, but it seemed wrong to have it not match the rest of the strings. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'mjb/altoslib_mjb'Keith Packard2012-09-09
|\
| * altoslib: Remove un-needed importsMike Beattie2012-09-07
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>