summaryrefslogtreecommitdiff
path: root/altosui/AltosFlightUI.java
Commit message (Collapse)AuthorAge
* 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>
* 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>
* 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>
* 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: Support telemetry data ratesKeith Packard2014-07-05
| | | | | | | Add combo box to flight UI and flight hardware configuration UIs Add telemetry rate to the TD/TBT config dialog 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>
* 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>
* 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>
* 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>
* 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>
* altosui/altosuilib: Cleanup -Xlint:unchecked warningsKeith Packard2014-05-25
| | | | | | Add parametric types to avoid unchecked warnings. 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>
* altosui: Add ignitor tab for TeleMega extra ignitorsKeith Packard2014-04-05
| | | | | | | Show the current state of the additional ignitors in another tab; there's not really room in the 'Pad' tab. 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: 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: remove debug message from AltosFlightUIKeith Packard2013-04-15
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Carry receiver status around in AltosListenerStateKeith Packard2013-04-09
| | | | | | | | | | This moves the crc_errors into the new structure and adds a receiver battery voltage value there as well. Now the receiver status can be monitored separately from the flight status. That also means that code receiving state updates should be prepared to accept missing listener or flight state values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Hide flight-related tabs for telegpsKeith Packard2013-04-02
| | | | | | Products without a flight state don't need ascent/descent/landed tabs. 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>
* altosui: Use shared AltosUIFrame and AltosUIDialogKeith Packard2013-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use shared AltosFontListener classKeith Packard2013-01-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Print exception stack trace when tracking flightsKeith Packard2012-10-16
| | | | | | More useful in fixing the problem Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: remove un-used importsMike Beattie2012-09-14
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altosui: Add multi-sized icons to all windowsKeith Packard2012-09-12
| | | | | | This lets the window system pick a better size for presentation Signed-off-by: Keith Packard <keithp@keithp.com>
* Reverted package name to 'altosui' from 'AltosUI'Tom Marble2012-09-11
| | | | Also added emacs backup regex (*~) to .gitignore
* Changed package name from altosui to AltosUITom Marble2012-09-10
|
* altosui: Complete split out of separate java libraryKeith Packard2012-06-02
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Split out UI-specific preferencesKeith Packard2012-06-02
| | | | | | Prepare to create library shared with android application. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Mark data 'Age' in monitor idle UI tooKeith Packard2012-03-27
| | | | | | | Just like with the flight monitor UI, it's nice to know how old the data in the monitor idle UI is, in case the data link to the TM isn't reliable. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Show only supported telemetry versionKeith Packard2012-03-27
| | | | | | | Make it clear in the UI which telemetry versions are supported, providing the combobox only for new firmware which supports all versions. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Show time since last packet in flight status windowKeith Packard2012-03-26
| | | | | | | Makes it easy to see when the UI is wedged, and when telemetry data are being successfully received. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make UI Look&Feel configurableKeith Packard2011-11-11
| | | | | | Saves the preferred style and uses that for all current and new windows. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make flight monitor font size configurableKeith Packard2011-08-24
| | | | | | | Tiny netbooks aren't tall enough for the 'usual' font size, so provide a smaller option. Then provide a bigger option, just because. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Try to get dialogs to look a little betterKeith Packard2011-08-24
| | | | | | grid bag constraints are not my friend. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add companion support to the flight UI and CSV conversionKeith Packard2011-08-13
| | | | | | | Shows the companion data in a new tab. Also put companion data into CSV file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add a 'Graph Flight' button to the 'landed' tabKeith Packard2011-08-10
| | | | | | | This lets you see the results of a flight as soon as the rocket lands using the telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Save frequency after setting it in AltosFlightUIKeith Packard2011-08-08
| | | | | | Otherwise we'll just save the old frequency. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Convert from channels to frequenciesKeith Packard2011-08-08
| | | | | | | | | | | | | Major areas: * Preferences are stored as frequencies instead of channels * Serial configuration is done using frequencies * UI is presented with frequency lists Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Generalize and centralize telemetry constants, parse v0.8 telemetryKeith Packard2011-07-16
| | | | | | | | | | Move telemetry constants to Altos class, adding functions to compute names and lengths. Generalize users of these values to use all of the known values. Add support for v0.8 TeleMetrum telemetry Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't show missing igniter and gps valuesKeith Packard2011-07-06
| | | | | | | | | | | The new telemetry stuff leaves state.gps always set (but empty), which seems fine, we just need to look at state.gps.connected to see if there's a GPS receiver on board. For TeleNano, we also want to hide the igniter status fields as they won't have any data present. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Support raw telemetry from TeleDongleKeith Packard2011-06-28
| | | | | | | | | Use raw telemetry frames when TeleDongle supports them, this involves parsing the hex dump of the packet instead of having teledongle take the packet apart. Only the legacy format is working at this point; the altos bits for the new split telemetry frames is not written yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use persistent list of bluetooth devices for device dialogsKeith Packard2011-04-19
| | | | | | | | Store a list of known bluetooth devices as preferences. Always include those in device dialogs with an option to go browse for more devices in both the device dialog and the Configure AltosUI dialog. Signed-off-by: Keith Packard <keithp@keithp.com>