summaryrefslogtreecommitdiff
path: root/altosui/AltosPad.java
Commit message (Collapse)AuthorAge
* 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>
* altosui: Display current altitude in monitor idle Pad tabKeith Packard2017-06-11
| | | | | | | This was attempting to use 'pad' values even though monitor idle doesn't have them. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Adapt to AltosFlightSeries for data analysisKeith Packard2017-05-25
| | | | 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>
* 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>
* 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>
* 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>
* altoslib/altosuilib: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes 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>
* altosui: Fix 'pad' screen for TeleGPSKeith Packard2014-09-01
| | | | | | Don't report pad position for TeleGPS 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: Switch to AltosUIIndicator and AltosUIFlightTabKeith Packard2014-06-14
| | | | | | Removes replicated code across all flight tabs Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Reduce CPU time needed for flight displaysKeith Packard2014-06-12
| | | | | | | | | | Don't update displays which aren't shown; track hierarchy changes to trigger display from most recent state data. Don't update values which haven't changed; remember previous values and compare with new before updating widget contents. 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>
* altoslib/altosui/altosuilib/libaltos: Remove trailing whitespaceKeith Packard2014-04-11
| | | | | | Just cleaning up the source code. 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: Define 3.8 as a good battery and 3.5 as a good igniterKeith Packard2013-12-18
| | | | | | | Use defined values everywhere instead of copying. Adjust battery up to 3.8 to ensure there's enough voltage to not trip the comparators 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>
* 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: Display current GPS in 'pad' tab for 'startup' statenKeith Packard2013-04-02
| | | | | | | This is the state for telegps, so just display the current GPS info as we don't know where it started at. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't display missing sensor dataKeith Packard2013-04-02
| | | | | | | For devices without sensors, don't display temperature, barometric and accelerometer-derived values. 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 'mjb/altosui_mjb'Keith Packard2012-09-20
|\
| * altosui: remove un-used importsMike Beattie2012-09-14
| | | | | | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* | altosui: Fix Landed tab unitsKeith Packard2012-09-14
|/ | | | | | | | | | And clean up the whole flight value reporting code base. It would be nice to create a separate class to make this easier; at present there's a bunch of customization embedded in how values are presented in each tab. Reported by: Bdale Garbee <bdale@gag.com> 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: 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: remove debug printf in pad paneKeith Packard2011-08-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add 'On-board Data Logging' indicator to pad tabKeith Packard2011-08-14
| | | | | | | | This shows whether the on-board data memory is full, or is ready to record the flight. This is indicated in the telemetry stream by a flight number of '0'. 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: swing hide/show methods are deprecatedKeith Packard2011-03-25
| | | | | | | I don't know why, but they are, so just replace them with setVisible calls. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add support for telemetry version 4Keith Packard2011-03-24
| | | | | | New telemetry format needed to support TeleNano and TeleMini Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Require 4 sats to light up the 'GPS locked' light.Keith Packard2011-01-16
| | | | | | | This tracks the same GPS signal requirement needed for 'GPS ready' and ensures that we have a 3d fix. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
Signed-off-by: Keith Packard <keithp@keithp.com>