summaryrefslogtreecommitdiff
path: root/altoslib/Makefile.am
Commit message (Collapse)AuthorAge
* altosui: Initial accel calibration UIaccel-cal-uiKeith Packard2017-08-12
| | | | | | Almost working, needs further tweaking. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Rename AltosEepromNew to AltosEepromKeith Packard2017-06-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove old AltosEeprom.java codeKeith Packard2017-06-13
| | | | | | No longer in use 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/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: include TimeSeries code in buildBdale Garbee2017-05-19
|
* altoslib: Another bit of altoslib for the old eeprom stuffKeith Packard2017-05-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove older eeprom handling codeKeith Packard2017-05-09
| | | | | | The new code appears to work in minor testing; time to try it all the time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compile AltosForce and AltosPressureKeith Packard2017-05-09
| | | | | | Useful if you want to actually use these. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add new eeprom management codeKeith Packard2017-05-09
| | | | | | Generic .eeprom file parsing, simpler per-type eeprom data extraction. 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>
* altoslib: Get rid of manual JSON encoding stuffKeith Packard2016-06-17
| | | | | | | Now that the reflective JSON stuff is working, we can delete all of the manual code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove AltosHashSet codeKeith Packard2016-06-15
| | | | | | Everything has switched to JSON now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Switch preserved state format to JSONKeith Packard2016-06-15
| | | | | | This is much easier to debug than the icky strings with backslashes everywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosIdleReaderKeith Packard2016-05-15
| | | | | | | This provides an AltosFlightReader interface for monitor idle mode, making that easier to provide in TeleGPS 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>
* altoslib: Store common frequencies in library version-independent formKeith Packard2016-05-12
| | | | | | | | | | | | | | | Serializable Objects in java are very specific to the class being serialized. As we bump the name of the library on a regular basis to note API/ABI issues, this mean a saved a Serializable object in the preferences database will fail to load across library version upgrades. The saved tracker state and saved common frequencies were the only objects saved in this form; this patch adds infrastructure for writing objects in a version-independent form, and then adds support for saving frequencies in that form. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Switch distance from m/ft to km/miles for large valuesKeith Packard2016-05-11
| | | | | | | This adds lots of infrastructure to deal with making the unit used depend on the value itself, and then uses it only for distances. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with TeleMetrum v2.0 MMA6555 being invertedKeith Packard2016-05-02
| | | | | | | | | | | | | | | | Dumping the MMA655X data with the 'A' command provides the raw sensor value. On TM v2.0 boards, the sensor is inverted, and all of the firmware uses the inverted value except for the 'dump the raw data' command. As a result, MonitorIdle was using the un-inverted value and displaying mystic values. I've fixed this in the ground station code by checking the product name and conditionally inverting the value (4095 - value) for TeleMetrum v2.0 products. Unknown products will generate a warning dialog on AltosUI so we'll catch places where we've failed to add a new product name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Split setup functions to separate dialogKeith Packard2016-04-26
| | | | | | | Remove them from the options menu, handle all preferences through listeners. Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix java class differing only by caseJustin Vreeland2016-04-21
| | | | | | | | | | | | OSX and Windows cannot handle files with names differing only by case. When these files are present in either there's a constant unfixable change viewable in git status and git diff. Since this code can be run and compiled on both platforms names different only by case should be avoided. Signed-off-by: Justin Vreeland <vreeland.justin@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add companion telemetry data supportKeith Packard2015-08-20
| | | | | | This got lost in the great telemetry rewrite Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add map loading helper classKeith Packard2015-05-27
| | | | | | | This adds the AltosMapLoader class, which iterates over a sequence of zoom levels and formats to get local copies of a desired launch site. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosLaunchSite bitsKeith Packard2015-05-27
| | | | | | | This asynchronously fetches the list of available launch sites from the standard location and notifies the caller when finished. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Get new abstract mapping code compilingKeith Packard2015-05-25
| | | | | | Not useful yet, but at least it compiles now? Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Create display-independent map support codeKeith Packard2015-05-21
| | | | | | This takes the swing-specific map code and creates a generic version. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support TeleGPS for Monitor IdleKeith Packard2015-02-06
| | | | | | | TeleGPS has ADC and GPS values, so build the necessary ADC parser and then hook up GPS parsing. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make AltosState serializableKeith Packard2014-11-15
| | | | | | This involved making every class it references serializable as well 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/altosuilib: clean all versions of the .jar fileKeith Packard2014-09-09
| | | | | | | When we switch libary versions, we want to remove the old ones; just have 'make clean' remove all versions of the libaries. 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: Add TeleGPS log parsing codeKeith Packard2014-06-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Display error message when parsing pyro channel values failsKeith Packard2014-06-02
| | | | | | | | | Build an exception handling chain to get numeric parse errors propagated all the way back to the original 'save' command and up into a dialog window, including the pyro channel, field and value that were in error. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altosuilib/altoslib: Move more stuff out of autosui. Reduce site map ↵Keith Packard2014-05-25
| | | | | | | | | | | memory Prepare to share with TeleGPS application. This also has the changes to the site map tile which cache only a few images and regenerate the flight path on the fly, saving piles of memory Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Move CSV/KML output code to altoslibKeith Packard2014-05-22
| | | | | | It's sharable, so share it 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>
* java: Add -target 1.6 to all java compilesKeith Packard2013-12-10
| | | | | | This makes sure the results can run with the old JVM Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add self-flashing codeKeith Packard2013-12-08
| | | | | | | This adds the ability to use the AltOS flash-loader on both STM and NXP processors. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Create AltosProgrammer classKeith Packard2013-12-08
| | | | | | | This provides an abstract interface to flashing boards, for dongle-based and self-programming boards. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add symbols to .ihx filesKeith Packard2013-12-08
| | | | | | | Create a new 0xfe record type to hold the symbols, and append them after the EOF record so that other tools might continue to work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui, altoslib: Move eeprom download code to altoslibKeith Packard2013-11-12
| | | | | | This should make adding eeprom downloading to altosdroid easier Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Start moving eeprom download logic to altoslibKeith Packard2013-11-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add TeleMini v2.0 telemetry supportKeith Packard2013-09-19
| | | | | | Includes AltosLib and ao-telem Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add TeleMini eeprom file to Makefile.amKeith Packard2013-09-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: convert rogue files to unix line endingsMike Beattie2013-09-05
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* 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>