summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
* Remove pyro wizard file from masterKeith Packard2016-09-05
| | | | | | This isn't done yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't ship TeleMetrum v3.0 firmware (yet)Keith Packard2016-09-05
| | | | | | We haven't finished this yet, so don't deliver firmware for it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with connect failure in AltosConfigTDKeith Packard2016-09-02
| | | | | | | | When the USB connection times out, abort any pending operations and clean up the thread correctly. Also, deal with the serial line being closed by checking for null. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add a 'seconds' method to AltosGPSKeith Packard2016-08-02
| | | | | | | This computes the time in seconds since the epoch from GPS time information. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telemetrum v3.0Keith Packard2016-07-12
| | | | | | Like Telemetrum v2.0, but with cc1200 instead of cc1120 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>
* altosui: Deliver firmware for Tmega 2.0 and TBT 3.0 for Windows tooKeith Packard2016-06-29
| | | | | | | 1.6.4 added Tmega 2.0 and TBT 3.0 firmware to linux and mac, but neglected windows. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Print filename before attempting to parse in --summary modeKeith Packard2016-06-17
| | | | | | | Any problems handling the file are easier to debug if the filename is visible above the error message. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't open command window when --graph is providedKeith Packard2016-06-15
| | | | | | | When the user explicitly asks to open a graph, don't bring up the command button window too. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Track open frames, exit when none remainKeith Packard2016-06-15
| | | | | | | This will let us not have the altosui window open by causing the application to shut down when the last frame closes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove missing items from --summary outputKeith Packard2016-06-15
| | | | | | Check all values for MISSING before printing them. 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>
* 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>
* altosui/telegps/micropeak: Handle both MULTI_LIB and non-MULTI_LIB buildsKeith Packard2016-05-12
| | | | | | | | | | | | | On x86 systems with -m32 and -m64 compilers, both libaltos32.so and libaltos64.so are built. Otherwise, we should use libaltos.so altosui only dealt with libaltos32.so and libaltos64.so, so it only worked on MULTI_LIB systems. telegps and micropeak only used libaltos.so, so they wouldn't work correctly on multi-lib systems. Fix all of them to work either way. 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: 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>
* altosui/telegps: Ship firmware for new hardwareKeith Packard2016-05-11
| | | | | | TBT v3.0 and Tmega v2.0 Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Change install to look for browser in a different placeKeith Packard2016-05-06
| | | | | | The windows registry is a mystery. 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>
* Update java library version numbersKeith Packard2016-04-21
| | | | | | Prepare for 1.6.3 release. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui,telegps: Do not allow radio calibration to be editedKeith Packard2016-03-26
| | | | | | | This leads to sorrow for almost everyone. If you want to edit this, use a terminal program. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Delay between polling for igniter status in Fire IgnitersKeith Packard2016-03-20
| | | | | | | This gives a remote like time to report the full status instead of sending another request before the reply has been processed. Signed-off-by: Keith Packard <keithp@keithp.com>
* Change how we detect and install javaKeith Packard2016-03-18
| | | | | | | | | | Detect by finding 'javaw.exe' in the current path and extracting the version from the program itself. Install by simply opening the web browser to java.com and letting the user install it themselves. 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>
* altosui: telemini outline pdf changed nameKeith Packard2015-11-01
| | | | | | It's now telemini-outline.pdf, just like the other outline files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Hide 'state' member and use accessor functionKeith Packard2015-10-13
| | | | | | | | Someone was smashing the state to 'landed' when no packets had been received for a while. Found that by making it impossible for anyone outside of AltosState to change the value. 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>
* altosui: Correctly show/hide receiver battery valueKeith Packard2015-06-25
| | | | | | Override the hide() test function which has the listener_state Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Create grid-bag helper functions in AltosUIFrameKeith Packard2015-06-17
| | | | | | This eases the burden of creating suitable GridBagConstraints values 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: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: More frobbing with new map bitsKeith Packard2015-05-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove un-implemented --fetchmaps argumentKeith Packard2015-05-19
| | | | | | This has been stubbed out for a while, so just remove it. 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>
* windows: Use new windows stub to launch applicationsKeith Packard2015-03-29
| | | | | | | This avoids needing to locate javaw on the system while also making the registry entries less fragile. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add map to MonitorIdle displayKeith Packard2015-03-10
| | | | | | | Nice to be able to verify that maps are working by using this mode, instead of needing to use flight monitoring. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Change from variable-units snuck into masterKeith Packard2015-03-02
| | | | | | show_units_name(double) only exists on the variable-units branch... 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>
* altosui: Run all igniter status requests from non-GUI threadKeith Packard2015-02-14
| | | | | | | | | | Anything run from the UI thread blocks the UI entirely; the Fire Igniters startup code to collect the number of pyro channels when building the UI was doing that from the UI thread. Switch that around so that the UI doesn't get built until that reply comes back, allowing the user to see the 'connecting' dialog, and cancel it if required. 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>
* altosui: Remove the dregs of AltosDroid load-old-telem codeKeith Packard2015-02-07
| | | | | | | | | | | | AltosDroid used to scan the old .telem file to return to the previous flight state on restart. Now it just loads the old state object instead, a vast improvement in performance. To do that, there were some changes in the altoslib code required. This patch just removes those, fixing replay bugs in TeleGPS along the way. Signed-off-by: Keith Packard <keithp@keithp.com>
* Package TeleDongle-v3.0 firmware with TeleGPS and AltosUI appsKeith Packard2015-02-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Fix file association registry install on WindowsKeith Packard2015-02-06
| | | | | | | Need to invoke DisableX64FSRedirection before setting file association registry entries or Windows won't find our application. Signed-off-by: Keith Packard <keithp@keithp.com>
* windows: Look for current Java version in \SOFTWARE\Wow6432NodeKeith Packard2015-02-06
| | | | | | | I have no idea what this is, but I found the Java version down in there... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove duplicate AltosUIPreferencesBackend.javaKeith Packard2014-11-16
| | | | | | There's a copy in altosuilib 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>
* altosui: Update 'Imperial Units' checkbox when units changeKeith Packard2014-10-04
| | | | | | | If you have two graphs running, make sure the imperial units checkboxes agree. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Check for map and stats table when changing units/fonts in graphKeith Packard2014-09-29
| | | | | | | AltosGraphUI wasn't making sure the map and stats tables were present before attempting to adjust font size and units. Signed-off-by: Keith Packard <keithp@keithp.com>