summaryrefslogtreecommitdiff
path: root/ao-tools/altosui/AltosTelemetryReader.java
Commit message (Collapse)AuthorAge
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: New AltosSerial.set_radio function sets channel/callKeith Packard2010-11-23
| | | | | | | | | Use this anytime you need to set the device radio channel and call sign, either for telemetry reception or packet mode origination. This uses the saved callsign and per-device radio channel number. Do not use this when opening a telemetrum as there won't be a saved channel number. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: switch channel selector to combo box. Shorten displayed device namesKeith Packard2010-11-19
| | | | | | | | | A combo box displays the current value, which is quite nice to have. Add a 'toShortString' for AltosDevice so that the window frames and error messages don't have extra spaces generated by the altos_device toString method. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Use timeouts to recover from broken packet links.Keith Packard2010-11-19
| | | | | | | | | | | This puts timeouts every place the system reads from the packet link and aborts the in-progress operation if it takes more than a second to get a response. Also mixed in here are persistent igniter status displays for the ejection testing UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Open serial device at 'new' time. Prohibit duplicate opens.Keith Packard2010-11-13
| | | | | | | | | | | With the per-serial UI, there's never a reason to create a serial device without opening it right away. This eliminates the bug caused by not opening the serial device for telemetry reception. Serial devices can now be opened only once; this eliminates errors when trying to reflash or configure devices while receiving telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Split out flight monitoring to separate windowKeith Packard2010-11-08
| | | | | | | | | This creates a per-TD (or replay) window to contain the flight monitoring information, allowing multiple monitors. This also adds per-TD preferences for monitoring channel. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Create iterables for log file scanning. Split out display threadsKeith Packard2010-09-27
| | | | | | | | | Convert from log file reading paradigm to using iterators which is more idiomatic for java. Split more code out of AltosUI.java, including the display update threads for telemetry monitoring and logfile replay.x Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printfs from AltosTelemetryReaderKeith Packard2010-09-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix telemetry file reader to handle tick count wrappingKeith Packard2010-09-09
| | | | | | | The telemetry reader was ignoring tick count wrapping, so you'd see time go backwards in jumps. Not useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Report telemetry CRC errors in UIKeith Packard2010-09-03
| | | | | | | Telemetry CRC errors can signal problems with TeleMetrum or TeleDongle units, so report them in the UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: When parsing saved telem files, errors shouldn't abort fileKeith Packard2010-08-26
| | | | | | | Make syntax errors in telem files just skip the current line and move on to the next one instead of abandoning the whole file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Start adding code to write csv files from eeprom/telem filesKeith Packard2010-08-07
This is a start to code which can write out a csv file full of flight data from either an eeprom or telem input file. It's not hooked up, but the restructuring necessary is finished and the output is started. Signed-off-by: Keith Packard <keithp@keithp.com>