summaryrefslogtreecommitdiff
path: root/altoslib
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'mjb/master'Keith Packard2013-03-06
|\
| * all: clean up .gitignore files and Makefile clean targetsMike Beattie2013-02-15
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* | altoslib: Invalidate GPS new data bit when updating stateKeith Packard2013-03-04
|/ | | | | | Somehow this line got lost when the GPS ground altitude fix was made. 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>
* altoslib: Fix available flight log storage computationKeith Packard2013-02-10
| | | | | | | | number of flights was off by one as it was initialized to -1 storage erase unit wasn't getting fetched correctly flight_log_max is in kB, not B; need to multiply by 1024 Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Interrupt MonitorIdle when changing frequency/callsignKeith Packard2013-02-10
| | | | | | | | When switching radio parameters, the local device needs to have the parameters switched, so interrupt the current operation and start over, the frequency and callsign will be set the next time through. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Fix a couple of unit functions to make them publicKeith Packard2013-02-10
| | | | | | Nice to be able to use these outside of altoslib 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>
* altoslib: Fix altoslib installKeith Packard2013-02-10
| | | | | | Was using AltosLibdir in several places still Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosUnits.graph_formatKeith Packard2013-02-10
| | | | | | This describes the format of numbers used on a graph axis for use with jfreechart Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: fix Makefile JAR targetKeith Packard2013-02-04
| | | | | | Was referencing stale classAltosLib.stamp instead of new classaltoslib.stamp 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>
* Merge remote-tracking branch 'origin/micropeak-logging'Keith Packard2013-01-10
|\
| * micropeak: Use data.export for Raw display. Change to MPHKeith Packard2013-01-03
| | | | | | | | | | | | | | data.export already knows how to format stuff, so use that to construct the raw data presentation for the GUI too. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Remove unused fake product_micropeak_serialKeith Packard2013-01-02
| | | | | | | | | | | | Code cleanups have made this no longer useful Signed-off-by: Keith Packard <keithp@keithp.com>
| * micropeak is code complete now.Keith Packard2013-01-01
| | | | | | | | | | | | Added save and download functionality. Removed 'new' from file menu. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Add units change notification listKeith Packard2012-12-31
| | | | | | | | | | | | | | This allows the UI to automatically respond to changes in the preferred units. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Clean up AltosRecord clone methodsKeith Packard2013-01-10
| | | | | | | | | | | | | | | | Make the AltosRecord version abstract and then implement suitable versions in each subclass by creating copying constructors for each class. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Don't smash existing GPS pad alt after boostKeith Packard2013-01-10
|/ | | | | | | | Leave the existing GPS pad altitude value in place after boost by checking to see if it was ever computed before resetting it to the barometric pad altitude. This makes GPS height values relative to the pad. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'aprs' into 'master'Keith Packard2012-12-16
|\
| * altoslib: unconfigured radio frequency data is now -1, not 0Keith Packard2012-12-16
| | | | | | | | | | | | | | This changed when AltosConfigData was cleaned up, so now frequency settings must check for positive numbers rather than non-zero. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Discard previous flight state on SN changeKeith Packard2012-12-14
| | | | | | | | | | | | | | | | A previous change discarded previous *telemetry* state, but failed to discard any previous overall flight state. This would reset some of the data fields, but wouldn't reset the GPS state and max measurements. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Only list flight logs for boards that we know have themKeith Packard2012-12-14
| | | | | | | | | | | | | | Boards that don't have flight logs will generate a nice 'Syntax Error' and fail to initialize. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add APRS interval configuration to UIKeith Packard2012-12-07
|/ | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Call config UI from AltosConfigData directlyKeith Packard2012-12-07
| | | | | | | | Don't make AltosConfig have a pile of config code, stick that in AltosConfigData instead. This uses a new interface, AltosConfigValues to get from AltosConfigData to the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use AltosConfigData for altosui configuration dialogKeith Packard2012-12-07
| | | | | | Instead of a separate config language parser, share with altoslib Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make AltosConfigData parse all of the config dataKeith Packard2012-12-06
| | | | | | | | It was missing quite a few. This also speeds up parsing of config from TeleScience, TeleBT and TeleTerra by not listing flight info on those products (where it doesn't make sense). Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make AltosMs5607 capable of parsing ms5607 info linesKeith Packard2012-12-06
| | | | | | This moves the parsing from AltosMs5607Query Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Reset telem tracking state when switching altimetersKeith Packard2012-11-18
| | | | | | | This discards any local state when the new telem packet has a different serial number Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Allow flight number to be zeroKeith Packard2012-11-18
| | | | | | | | It's zero when there's no storage space on the device. Instead of waiting for non-zero flight number, wait for the seen_flight bit to be set in the telem tracking state Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: MegaMetrum data telem packets have sensor data, not flight noKeith Packard2012-11-18
| | | | | | | Setting the seen_flight bit without a flight number leads to bogus file names Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add (disabled) conversion for MS5611Keith Packard2012-11-18
| | | | | | | In case we actually end up shipping an MS5611-based board at some point, it will be nice to have the java code on hand 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>
* altosui/altoslib: Add support for configuring pyro channelsKeith Packard2012-10-22
| | | | | | | This provides a UI on devices which have pyro channels other than main/apogee. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosRecordNone.javaKeith Packard2012-10-21
| | | | | | oops. forgot a file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Parse GPS .mega file entries for reply/graphingKeith Packard2012-10-21
| | | | | | | | The .mega file parsing had a pile of leftovers from when it was cloned from the .eeprom file parsing code. Replace all of that with the right parsing bits so that GPS data will be presented correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Move computed state from AltosRecord to AltosStateKeith Packard2012-10-21
| | | | | | | Make AltosRecord simply track the raw data and have AltosState hold all computed values, including cross-packet averages and computed speeds. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compute accelerometer speed from megametrum eeprom dataKeith Packard2012-10-21
| | | | | | Duplicates code from the TM eeprom state tracking code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: remove a couple of TM log record types from MM log parsingKeith Packard2012-10-21
| | | | | | PRESSURE and DEPLOY log records don't occurin MM eeprom files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: MegaMetrum eeprom never loses GPS dateKeith Packard2012-10-21
| | | | | | | | TeleMetrum had a firmware bug that would fail to record the GPS date and time correctly, that was hacked around in altosui, but isn't needed for MegaMetrum. Remove those hacks from the MM path. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Accept serial number of zero for eeprom downloadKeith Packard2012-10-16
| | | | | | | | AVR-based products don't have a valid serial number, and so usually report 0. Accept this by making the 'no serial number' case check for negative values. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge remote-tracking branch 'mjb/altosdroid'Keith Packard2012-09-20
|\
| * altoslib: make parts of AltosLog public for usage outside altoslib.Mike Beattie2012-09-18
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * altos{lib,ui,droid}: move OS specific code out of altoslibMike Beattie2012-09-18
| | | | | | | | | | | | | | | | | | This is to allow the usage of AltosLog on Android - no swing, so we need to push the "home directory" code used to pick a default telemetry logging path - using the PreferencesBackend interface for now. Signed-off-by: Mike Beattie <mike@ethernal.org>
| * Merge branch 'prefs_interface' into altosdroidMike Beattie2012-09-16
| |\
* | \ Merge remote-tracking branch 'mjb/prefs_interface'Keith Packard2012-09-20
|\ \ \ | | |/ | |/|
| * | altosui/altoslib: Add call to …Preferences.init() with backend object, ↵Mike Beattie2012-09-14
| | | | | | | | | | | | | | | | | | remove static init() Signed-off-by: Mike Beattie <mike@ethernal.org>
| * | altoslib: Add AltosPreferencesBackend.java to Makefile.amMike Beattie2012-09-14
| | | | | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
| * | altosui/altoslib: add methods to interface, fix imports/exceptions in BT codeMike Beattie2012-09-14
| | | | | | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>