summaryrefslogtreecommitdiff
path: root/telegps/TeleGPS.java
Commit message (Collapse)AuthorAge
* telegps: Get --graph mode working after recent changesKeith Packard2019-09-25
| | | | | | | Was just exiting due to a null pointer exception caused by mis-ordered setup of the map data. Also using stale API. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Display error message when attempting to graph unknown filesKeith Packard2019-06-18
| | | | | | Instead of presenting an empty graph window. 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: Improve EEprom downloadKeith Packard2017-11-11
| | | | | | | | | * Catch and report CRC errors * Deal with corrupted flight records * Add ability to immediately graph new data * Check before overwriting existing files Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Make cal_data private in AltosDataListenerKeith Packard2017-06-20
| | | | | | This way we can create it as needed. 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: 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>
* telegps: Get telegps application working againKeith Packard2017-05-27
| | | | | | Many minor API tweaks Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: use new eeprom reading codeBdale Garbee2017-05-10
|
* Switch from GPLv2 to GPLv2+Keith Packard2016-07-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rename AltosUIMap*New.java to AltosUIMap*.javaKeith Packard2016-05-24
| | | | | | This code isn't really new anymore... Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add monitor idle modeKeith Packard2016-05-15
| | | | | | | This monitors directly connected devices. No support for doing monitor idle using packet mode, as TeleGPS doesn't support that. 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>
* 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>
* telegps: Add receiver battery to Status displayKeith Packard2015-06-25
| | | | | | Makes it a bit cramped, but it's useful to have if you're using TeleBT. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: use new AltosUIFrame constraint helperKeith Packard2015-06-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove old map bitsKeith Packard2015-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Use new map code for map preload UIKeith Packard2015-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Get new Map display code running in altosui and telegpsKeith Packard2015-05-26
| | | | | | | Looks like the display is all hooked up. Still need to replace the preload UIs. 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>
* altoslib: Expose locale and non-locale floating point parsing functionsKeith Packard2015-05-19
| | | | | | | | | UI bits use locale-specific floating point formats, so parsing those needs to use the locale. Network-based data, like .kml bits need to use non-locale-specific parsing code, so now we've got both APIs available, and each used as appropriate. 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: Mark listener as 'not running' on EOF.Keith Packard2015-02-07
| | | | | | | | | | | | | | This adds a 'running' member to the AltosListenerState class, and when the replay reader reaches EOF, marks the listener as no longer running. AltosUI and TeleGPS now display 'done' in the 'Age' field when this occurs, to let the user know that the replay is over. Also make sure that the display timers are stopped when this happens, or when the window is closed. Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak/altosui/telegps: Fix icon file namesKeith Packard2014-07-10
| | | | | | | | | | The icon file names are now structured to have an organization name and application name component. This should avoid collisions with other packages when the icon files are installed in a shared directory, as on Linux. Within the Java .jar file, the new names need to be correctly referenced or we won't find them. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Support variable telemetry rateKeith Packard2014-07-05
| | | | | | Add combo box to monitoring window and device configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Undo the frequency/telemetry menu changesKeith Packard2014-07-05
| | | | | | | | | Using menus for these items isn't what we want; we want to show the current value on the screen, which is what a combo box is for. Switch back to those and remove the frequency and telemetry config from the TeleGPS menu bar so that Mac OS X is happy. Signed-off-by: Keith Packard <keithp@keithp.com>
* macosx: Respond to apple messages in all appsKeith Packard2014-06-18
| | | | | | | This connects the callbacks in AltosUIFrame to actually do something useful with them. 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>
* altosui/telegps: Use menus for frequency list and telemetry formatsKeith Packard2014-06-16
| | | | | | | This will let us move them into the Mac OS X menu bar, as well as making them look a bit nicer. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Switch to AltosUIIndicator and AltosUIFlightTabKeith Packard2014-06-14
| | | | | | Removes replicated code across all flight tabs Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Shuffle menu entries aroundKeith Packard2014-06-13
| | | | | | I think this makes them a bit more logical Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add status tabKeith Packard2014-06-13
| | | | | | This includes pad-relative information, battery voltage and version information Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Disconnect telemetry device when closing monitor windowKeith Packard2014-06-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Don't re-add frequency menu when already present.Keith Packard2014-06-12
| | | | | | | | | | If the receiver disappears, we'll stop tracking, but won't pull the frequency menu down. Doing that would take a bit of work, and it doesn't seem worth the effort. As a kludge-around, avoid re-creating the frequency menu if it's already displayed when we connect to another device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rewrite map GUI bitsKeith Packard2014-06-11
| | | | | | Use a single large Canvas and draw images on top by hand. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/telegps: Change log size configurationKeith Packard2014-06-10
| | | | | | | | | | | | | * Use new log-space value provided by firmware when available. * Divide that up into 1-8 flights and offer those sizes as options to the user instead of a fixed set of sizes. * Show how many flights each selection will store * This also checks values provided by the user Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Track graph windows as one of the TeleGPS windowsKeith Packard2014-06-07
| | | | | | | TeleGPS exits when the number of windows goes to zero; track graphing windows in addition to the usual flight monitoring windows. 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>
* java: Refactor AltosFlightDisplay units and font update handlingKeith Packard2014-05-29
| | | | | | | | | Make AltosFlightDisplay explicitly implement AltosFontListener and AltosUnitsListener interfaces to make everyone use the same API. Then, actually go implement units listeners so that changing units updates all of the active displays immediately Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add info tableKeith Packard2014-05-29
| | | | | | | Move a couple of files from altosui to altosuilib, hook up the info table after changing it to implement the AltosFlightDisplay interface Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add flash device functionalityKeith Packard2014-05-28
| | | | | | Move bits from altosui to altosuilib and use those. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Auto-connect to any base stations plugged in at startupKeith Packard2014-05-28
| | | | 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>
* telegps: Hook up data download dialogKeith Packard2014-05-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add scan UIKeith Packard2014-05-28
| | | | | | | Move scan UI bits into altosuilib, allow telegps to not show telemetry format options. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add preferences dialogKeith Packard2014-05-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add device configuration dialogsKeith Packard2014-05-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add first version of telegpsKeith Packard2014-05-28
Not much implemented yet, but a shell of the UI and the map Signed-off-by: Keith Packard <keithp@keithp.com>