summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
...
* altosui: Integrate accel speed from very start of eeprom recordKeith Packard2012-04-07
| | | | | | | | Don't wait for the flight computer to have detected boost--that's often several samples after boost actually occurred, which can leave a bunch of acceleration out of the speed computation. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Radio channel gets set to zero by altos when frequency is setKeith Packard2012-04-07
| | | | | | Just remember what the channe is going to get set to. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Disable launch controller buttonKeith Packard2012-03-28
| | | | | | The launch controller should just be a separate program. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add Configure Ground Station dialog (trac #29)Keith Packard2012-03-28
| | | | | | | | Allows the user to configure the teledongle frequency without opening up the flight monitor window, and also shows the teledongle fixed values like radio calibration, serial number and software version. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Sanity check values from device configurationKeith Packard2012-03-27
| | | | | | | If someone has down-graded and re up-graded the firmware, the config entries may be garbage. Sanity check them to avoid crashing the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make 'monitor idle' work with older TeleMetrum firmware (trac #28)Keith Packard2012-03-27
| | | | | | | | Older TM firmware did not have the 'done' line at the end of the GPS report, rather it would just stop after showing the Flags value. Check the TM version and stop looking for GPS data when the Flags line appears. 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: Catch attempt to set radio frequency to 0.0 -- use defaultKeith Packard2012-03-27
| | | | | | | | | Monitor idle was setting the frequency to 0, which takes a while with the new native radio frequency setting code. Don't do that, instead pull out the preferred frequency for that, as is done in other places where a frequency of 0.0 is used. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Find actual landing time when computing stats (trac #23)Keith Packard2012-03-27
| | | | | | | | Look for the last time the height went from >10m to <2m from the nominal landing altitude and use that as the landing time when computing things like main descent speed, time under main etc. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Change flight data saving UI to separate download/delete selectionsKeith Packard2012-03-27
| | | | | | | | | First pop up a dialog to select flights for download. Download them. Then, after that, pop up a *new* dialog to select flights for delete. Offer to delete all of the downloaded flights by default. Then delete the flights. 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: Configure radio with new direct frequency settingKeith Packard2012-03-27
| | | | | | Instead of computing the radio setting in altosui, let the radio do it directly. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use ConcurrentHashMap for mapsKeith Packard2012-03-26
| | | | | | | This data structure is accessed by multiple threads, so it needs to be re-entrant. 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: Restructure telemetry classes to be more saneKeith Packard2012-03-26
| | | | | | | | | | | * Make AltosTelemetryRecord be a class, rather than an interface. * Inherit from this for AltosTelemetryRecordLegacy and AltosTelemetryRecordRaw. * Remove bogus AltosTelemetryRecordGeneral class. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Create TeleMetrum v1.2 directoryKeith Packard2011-12-17
| | | | | | | The hardware is software-compatible with v1.1, but it's nice to have the right version number in all of the files. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: googleearth doesn't accept spaces between coordinates anymoreKeith Packard2011-12-17
| | | | | | it got pickier for some reason; let's not put spaces in now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with serial port exceptions a bit betterKeith Packard2011-11-12
| | | | | | | This catches a few exceptions and tries to make sure the serial port is closed afterwards. 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: Only update GPS data when new GPS information arrivesKeith Packard2011-10-27
| | | | | | | | Track which telemetry packets are actually producing new GPS information and only update the GPS average position and count of stable GPS reports with new GPS info, instead of on every telemetry packet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with missing state transitions in FlightStats window1.0.9.2Keith Packard2011-10-09
| | | | | | Any missing start/end times are pinned to the end of the flight. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Deal with telem data that goes backwards in timeKeith Packard2011-10-09
| | | | | | | The new telemetry stuff can send packets with older timestamps, so sort telem packets read from disk to create an in-order record of the flight. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove igniter voltages from chart.Keith Packard2011-10-08
| | | | | | | These are just annoying; when we add the ability to turn stuff on/off on the fly, we can add them to the list of available items. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Allow for multiple instances of each state in the graphKeith Packard2011-10-08
| | | | | | | With the new boost re-detect code, we can get multiple instances of boost/fast/coast, so make sure each are displayed in the graph. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Max acceleration across boost instead of all ascentKeith Packard2011-10-08
| | | | | | This ignores ejection bumps, making the max acceleration far more useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Report error message back from libaltosKeith Packard2011-08-28
| | | | | | | This includes changing all of the error dialogs to show the error message rather than just the file name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add bluetooth bits back inKeith Packard2011-08-28
| | | | | | Stub out functions on mac/windows for now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: launch controller button needs to move overKeith Packard2011-08-27
| | | | | | monitor idle was inserted into position 2,2 Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Hook up the launch controller UI from the main button boxKeith Packard2011-08-27
| | | | | | Provide a button to start the launch controller UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add primitive UI for TeleLaunchKeith Packard2011-08-27
| | | | | | Display status along with arm and fire buttons. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/windows: Get latest JRE 1.6 version (Version 6 update 27)Keith Packard2011-08-24
| | | | | | No reason to download stale java bits. 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: Don't trust companion telemetry record 'channels' countKeith Packard2011-08-24
| | | | | | | It can be bogus, allowing the code to walk off the end of the allocated data array. 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 tool-tips to config dialogsKeith Packard2011-08-24
| | | | | | | Provides more information about the various settings, and, when they're disabled, tells the user why. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use system look&feelKeith Packard2011-08-23
| | | | | | Turn on the 'be less ugly bit' Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: add tool-tips to the button box.Keith Packard2011-08-23
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: fix Mac OS X function signaturesKeith Packard2011-08-23
| | | | | | altos_list_start was declared to take a (int time) parameter for some reason. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Update mac os X libraryKeith Packard2011-08-22
| | | | | | | This has been tested on 32-bit OS X and it works; dunno about 64-bit. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Reset all config data on 'reset' commandKeith Packard2011-08-22
| | | | | | This lets you switch altimeters without getting any stale data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Only 'show' config dialog onceKeith Packard2011-08-22
| | | | | | | Otherwise, the dialog jumps back to the initial position each time the data is updated. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: fix 'magic' string to signal end of config dataKeith Packard2011-08-22
| | | | | | | | Was using "done", which happens to be displayed by the 'l' command. Switch to 'all finished' which doesn't appear in the config data output. Yes, this method is a kludge. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Can't configure flight log max on TeleMiniKeith Packard2011-08-22
| | | | | | It's only got space for one flight. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make monitor-idle display correct 'On-board data logging' statusKeith Packard2011-08-22
| | | | | | | Count number of stored flights and see if there's space for another one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add --summary option to dump flight stats to stdoutKeith Packard2011-08-22
| | | | | | useful for quickly capturing sense of a flight. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Show filename in AltosGraph windowKeith Packard2011-08-22
| | | | | | Makes it easier to tell multiple windows apart Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add date/time/serial/flight to flight stats tabKeith Packard2011-08-22
| | | | | | And switch to using the AltosConvert units conversions functions. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Capture date/time/serial/flight in AltosFlightStatsKeith Packard2011-08-22
| | | | | | Time is the time when boost was detected. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add a few simple unit conversionsKeith Packard2011-08-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Attempt to make both 32- and 64-bit windows DLLsKeith Packard2011-08-22
| | | | | | We'll see if they work... Signed-off-by: Keith Packard <keithp@keithp.com>