summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
...
* altosui: Match directories in hex file matcherKeith Packard2013-12-08
| | | | | | This makes it possible to navigate around the file system Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add self-flashing codeKeith Packard2013-12-08
| | | | | | | This adds the ability to use the AltOS flash-loader on both STM and NXP processors. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Support binary reading/writing in AltosLinkKeith Packard2013-12-08
| | | | | | | Binary reads require an explicit length, and do not work while telemetry is running. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Clean up serial close handlingKeith Packard2013-12-07
| | | | | | | | | Unify serial close processing in a single function (close_serial), make everyone else call that. This avoids a couple of cases where the device would be closed and not removed from the devices_opened list, leading to 'device is already in use' messages. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't try to report bearing/elevation without GPSKeith Packard2013-12-07
| | | | | | | If the distance from the pad cannot be computed (due to lacking GPS), then don't try to report it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Handle units in pyro config.Keith Packard2013-11-25
| | | | | | | This lets you edit the pyro configuration using imperial units if desired. Signed-off-by: Keith Packard <keithp@keithp.com>
* Ignore mac .dmg filesKeith Packard2013-11-12
|
* altosui, altoslib: Move eeprom download code to altoslibKeith Packard2013-11-12
| | | | | | This should make adding eeprom downloading to altosdroid easier Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make AltosEepromDownload not swing-dependentKeith Packard2013-11-12
| | | | | | Will move to altoslib Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Start moving eeprom download logic to altoslibKeith Packard2013-11-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Raise ParseException on invalid eeprom formatKeith Packard2013-11-12
| | | | | | | Make sure the user knows when data are not downloaded successfully because the UI doesn't understand the eeprom format. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib,altosui: Be more robust when graphing bogus .telem filesKeith Packard2013-10-14
| | | | | | | | | | | | Deal with files containing multiple serial number/flight number values by preserving the boost_tick value across state resets. Check for invalid state when computing actual boost time for the stats window. Ignore invalid speed/accel values when computing averages. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add easymini outline to distributionKeith Packard2013-10-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Binaries to package are only in per-product dirs nowKeith Packard2013-10-08
| | | | | | | | | | Each cc1111 project used to stick the binary in src/, but I got rid of that when we ended up with so much stuff in src that it was a mess. Building the release now requires looking in the appropriate directory for each binary to ship. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Include device name in Table viewKeith Packard2013-09-06
| | | | | | It's part of the telemetry, so we might as well display it Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Set 'flight' value in AltosEepromMonitor window during downloadKeith Packard2013-09-06
| | | | | | This feature was lost in the AltosState updates Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Load Telem files in AltosDataChooser tooKeith Packard2013-09-06
| | | | | | Telem file loading was stubbed out from AltosState changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Add TeleMini-v1.0 eeprom supportKeith Packard2013-09-06
| | | | | | Got lost in the AltosState transition Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debugging printf from InfoTableKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix 'Graph Flight' button in landed dialogKeith Packard2013-09-05
| | | | | | Telemetry file reading was broken (oops!) 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: More AltosState hackingKeith Packard2013-09-02
| | | | | | EasyMini graphs are looking good now. 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: Fixes for state changesKeith Packard2013-08-31
| | | | | | | Format for gps alt (now double). Use new code for csv file loading. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui: Get legacy telem working with new AltosState structureKeith Packard2013-08-31
| | | | | | Make AltosTelemetry work without AltosRecord 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: AltosDbm class was missing somehowKeith Packard2013-08-17
| | | | | | This doesn't appear to have been added? Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add raw pressure to the AltosUI graphKeith Packard2013-06-17
| | | | | | A nice addition, and useful when diagnosing baro sensor issues Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use preferred units for main deployment height configurationKeith Packard2013-06-11
| | | | | | | Show and accept values in the preferred units; create a separate list of preferred values for each set of units Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Missing 'break' after selecting 'mega' format detectionKeith Packard2013-05-26
| | | | | | Caused 'mega' logs to be dumped in 'mini' format which didn't work well. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Stop downloading mega eeprom on empty blockKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'lpc'Keith Packard2013-05-21
|\
| * Add Mini logging format. Use in EasyMinilpcKeith Packard2013-05-19
| | | | | | | | | | | | | | This is a 16-byte record that includes all of the sensor data in each sensor record, along with records for flight state changes. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add TeleBT firmware to releaseKeith Packard2013-05-21
|/ | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Generate useful KML files from TeleGPS logsKeith Packard2013-05-14
| | | | | | | Use GPS altitude when baro altitude is not present. Don't require flight number. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use GPS alt + baro height for KML altitudeKeith Packard2013-05-14
| | | | | | | | | GPS altitude is generally more absolutely correct than baro altitude, so use that as the nominal pad altitude when generating a KML file. This results in a KML file that has the flight trace start and end closer to the ground, which is always nice. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Wait for valid callsign/flight when graphingKeith Packard2013-05-10
| | | | | | | Wait for the data record to indicate that the flight value is valid before setting the graph callsign/flight/serial data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/altoslib: Move more flashing code from altosui to altoslibKeith Packard2013-05-07
| | | | | | | Required a bit of refactoring to eliminate swing types from the flashing code, but nothing major. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui & altoslib: Move a pile of debug/programming bits to altoslibKeith Packard2013-05-07
| | | | | | Prepare to create external Java utilities to flash devices Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Support 32-bit ihx filesKeith Packard2013-05-07
| | | | | | This just borrows the same 32-bit ihx parsing changes from ao-tools. Signed-off-by: Keith Packard <keithp@keithp.com>
* name change from MegaMetrum to TeleMegaBdale Garbee2013-04-22
|
* altosui: Disable main deploy setting for TeleGPSKeith Packard2013-04-17
| | | | | | | Just like all of the other flight computer settings, disable the main deploy altitude configuration for TeleGPS. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Handle broken network in map tile loadingKeith Packard2013-04-17
| | | | | | | | | | Handle missing pngfiles in AltosSetMapCache by checking ImageIO.read for null return. Do incremental map tile downloading asynchronously so that the UI doesn't lock up when the network is slow 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: Adapt monitor idle to new AltosListenerStateKeith Packard2013-04-09
| | | | | | Move the receiver battery monitoring to the new spot 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: Graph TeleMini flights without crashingKeith Packard2013-04-02
| | | | | | | Adding maps to the graph UI failed to check for missing GPS data in a couple of places causing crashes when fed a TeleMini file. 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: 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>
* 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>