summaryrefslogtreecommitdiff
path: root/altosui
Commit message (Collapse)AuthorAge
...
* Add HARA Bragg Farms siteKeith Packard2011-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix NCR Pawnee locationKeith Packard2011-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Mark preload site location with red circles (like launch)Keith Packard2011-07-17
| | | | | | Just to show where on the map the official launch location is. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add a bunch more site locationsKeith Packard2011-07-17
| | | | | | BALLS, Rio Rancho, METRA, QRS Cedar Grove and Hudson Ranch Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add launch-sites.txtKeith Packard2011-07-17
| | | | | | Contains a few of our favorites. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Download list of site locations for map preloadingKeith Packard2011-07-17
| | | | | | | | | | | | The current URL for this is: http://gag.com/~keithp/launch-sites.txt The format is: <site-name>:<lat>:<lon> lat and lon are both in signed decimal degrees. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'preload-maps'Keith Packard2011-07-17
|\
| * altosui: Make sure degree and minute values are visible (map preload)Anthony Towns2011-07-16
| | | | | | | | | | | | | | Set min size to preferred size so that the value remains visible instead of snapping to 0 pixels wide. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Remove a bunch of sitemap debugging printfsKeith Packard2011-07-16
| | | | | | | | | | | | Seems to work, let's get less chatty Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Display full map preload area in view.Keith Packard2011-07-16
| | | | | | | | | | | | | | | | This involved fixing the map view to support arbitrary sizes, and then exposing a synchronous tile loading API so that the progress bar could be used to show tile loading progress. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Merge branch 'scan-telemetry' into preload-mapsKeith Packard2011-07-16
| |\
| | * altosui: Flush telemetry lines before starting to watch for scan resultsKeith Packard2011-07-16
| | | | | | | | | | | | | | | | | | | | | This prevents pending telemetry lines from being incorrectly attributed to the wrong channel/telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altosui: Try to avoid resize weirdness with map preloadingKeith Packard2011-07-16
| | | | | | | | | | | | | | | | | | | | | grid bag + box does some strange stuff, this appears to avoid the worst of the interactions. Signed-off-by: Keith Packard <keithp@keithp.com>
| * | altosui: Add map preloading GUIKeith Packard2011-07-16
| |/ | | | | | | | | | | | | | | Provide a way to manually enter latitude and longitude, preview the map area while downloading a 9x9 grid of map tiles to be used when monitoring flights without network access. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Set 'seen' bits in legacy telemetry packet readerKeith Packard2011-07-16
| | | | | | | | | | | | Otherwise, the 'scan' code won't show detected flight computers. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Initialize channel and telemetry before use in ScanUIKeith Packard2011-07-16
| | | | | | | | | | | | Otherwise we try to use telemetry format 0, which means 'no telemetry'. 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: Finish radio scanning UIKeith Packard2011-07-16
| | | | | | | | | | | | | | | | Scans all channels and telemetry formats, presenting visible devices in a list. Entries from the list may be selected, in which case a monitor window pops up with the appropriate configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Configuration telemetry record includes flight numberKeith Packard2011-07-16
| | | | | | | | | | | | Mark the reported altos record as including flight information. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Remove debugging printf from AltosLogKeith Packard2011-07-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Pop up monitor window from scan dialogKeith Packard2011-07-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Start adding support for scanning radio for available devicesKeith Packard2011-07-16
| | | | | | | | | | | | This is untested. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos, altosui: Add igniter mode (dual, apogee, main)split-telemetryKeith Packard2011-07-17
|/ | | | | | This provides for redundant charges for either apogee or main. 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: Build device constants into .java codeKeith Packard2011-07-06
| | | | | | | | This eliminates a depedency on updates to the system helper library, which means we don't have to provide a new library on all platforms just to support a new USB id. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Compress telemetry records marked with the same timeKeith Packard2011-07-05
| | | | | | | Split telemetry transmits multiple packets with the same timestamp. Merge those into a single record when read from a file. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove debug printf.Keith Packard2011-07-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add main/drogue voltages to default graphKeith Packard2011-07-05
| | | | | | | Until we get a UI for changing the graph elements, lets add a few more potentially useful values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Elide missing values from graphsKeith Packard2011-07-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Elide nul bytes at end of telemetry string valuesKeith Packard2011-07-05
| | | | | | | All telemetry fields are fixed length, so any embedded strings are padded with nul bytes. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Parse remaining standard telemetry packetsKeith Packard2011-07-05
| | | | 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: Handle old TeleDongle receiving kalman telemetry packetsKeith Packard2011-06-02
| | | | | | | | | | | The telemetry packets now send the kalman height/speed/accel values instead of the ad-hoc values. If received by an old TeleDongle box, the speed value will be of the form 0x8000abcd, which will be printed as a 32-bit value by TeleDongle. We only want the abcd part, which is the speed * 16. Detect this automatically and compute the correct values for all three. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix BT manage dialog so that the device lists resizeKeith Packard2011-04-25
| | | | | | | This makes the device scrolling lists fill any extra space when the window is resized. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Move AltosIgniteUI device open out of Swing threadKeith Packard2011-04-25
| | | | | | Eliminate more blocking code from the Swing thread. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Display reader name (usually the device) when an I/O error occursKeith Packard2011-04-25
| | | | | | | Access the reader name directly from the reader object instead of a local variable (which wasn't getting set anyways). Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix TeleBT name in flight monitor titleKeith Packard2011-04-25
| | | | | | Was getting the product number, not the product name. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Separate out flash debug code to separate threadKeith Packard2011-04-25
| | | | | | | This avoids blocking the Swing thread while waiting for the serial device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make flight data download work through TeleBTKeith Packard2011-04-19
| | | | | | | This required flushing input before reading data blocks and adjusting some delays. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'telemini' into telebtKeith Packard2011-04-19
|\
| * altosui: oops - lost state changes when downloading eeprom data.Keith Packard2011-04-13
| | | | | | | | | | | | | | This would cause the reader to just keep reading past the end of the flight. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/altosui: Log averaged baro sensor data in Tm/TnKeith Packard2011-04-09
| | | | | | | | | | | | | | | | Instead of logging the best height guess from the kalman filter, log barometer data. The logged data consists of the average value betwen log points to reduce noise. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Wait two seconds after bluetooth connect XXXKeith Packard2011-04-19
| | | | | | | | | | | | | | "something" isn't quite ready to communicate right after the device is connected, so we stick a delay in. There should be a better fix. 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>
* | altosui: Make bluetooth dialog modalKeith Packard2011-04-18
| | | | | | | | | | | | | | This allows it to be displayed correctly while the device dialog box (also modal) is up. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Make AltosBTDevice implement AltosDevice interfaceKeith Packard2011-04-14
| | | | | | | | | | | | | | This will allow the use of either USB or BT devices through the AltosDevice interface. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Create abstract AltosDevice classKeith Packard2011-04-14
| | | | | | | | | | | | | | This will wrap either USB or BT devices. The USB device constants have been moved to Altos.java Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add primitive bluetooth device manager UI.Keith Packard2011-04-14
| | | | | | | | | | | | | | This isn't useful, but does inquire for available bluetooth devices and show them in a list. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add low-level Bluetooth APIsKeith Packard2011-04-08
| | | | | | | | | | | | | | | | | | Adds the JNI functions to query and connect to arbitrary bluetooth devices. Adds Java wrappers to construct a list of proximate bluetooth devices. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosui: Add TeleBT USB device supportKeith Packard2011-04-08
|/ | | | | | TeleBT can work just like a TeleDongle over USB. Signed-off-by: Keith Packard <keithp@keithp.com>