summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* libaltos: Delay after opening bluetooth device on linuxdroid-gpsKeith Packard2013-04-20
| | | | | | Writes immediately after the open disappear sometimes. Signed-off-by: Keith Packard <keithp@keithp.com>
* libaltos: Try Bluetooth open 5 times on EBUSYKeith Packard2013-04-20
| | | | | | | After closing Bluetooth, it can take a second before the device is up for another connection. Hang around retrying a few times. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Start filling in details about Altos Droid flight monitoringKeith Packard2013-04-20
| | | | | | | This is almost all identical to AltosUI; I think we'll want to share the two sections. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add a bunch of Altos Droid material to the docsKeith Packard2013-04-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Update distance/bearing on map tabKeith Packard2013-04-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into droid-gpsKeith Packard2013-04-17
|\
| * 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>
* | altosdroid: Fix integer formatting in tabsKeith Packard2013-04-17
| | | | | | | | | | | | | | Was trying to use AltosDroid.number for integers, which didn't work as it expected doubles. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Check for missing valuesKeith Packard2013-04-16
| | | | | | | | | | | | When displaying numbers, check for MISSING values and display nothing Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into droid-gpsKeith Packard2013-04-15
|\|
| * altosui: remove debug message from AltosFlightUIKeith Packard2013-04-15
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into droid-gpsKeith Packard2013-04-15
|\|
| * altoslib: Check for null state.gps before accessing it in eeprom recordsKeith Packard2013-04-15
| | | | | | | | | | | | | | | | | | Used to be we'd set state.gps to garbage before seeing the first GPS record; now we leave it null, which will cause crashes for code that doesn't expect it. The code for reading and replaying eeprom data was not checking and was nicely crashing as a result. Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into droid-gpsKeith Packard2013-04-14
|\|
| * micropeak: Oops. Lost the call to actually start downloading dataKeith Packard2013-04-14
| | | | | | | | | | | | Lost when adding the 'help' text somehow; presumably a debugging issue. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Update UI even if no telem has been received. Center map.Keith Packard2013-04-13
| | | | | | | | | | | | | | | | | | | | This allows the receiver location to be displayed even when telemetry is not. Center the map on the first valid location, either receiver or rocket. Update center if a significantly more precise location is received. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Get rid of a couple of startup messagesKeith Packard2013-04-13
| | | | | | | | | | | | These are just annoying Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Show our position in the map tab. Squeeze to fit phonesKeith Packard2013-04-13
| | | | | | | | | | | | Shrink everything to fit on phones, then add phone location to the map tab Signed-off-by: Keith Packard <keithp@keithp.com>
* | Merge branch 'master' into droid-gpsKeith Packard2013-04-13
|\|
| * Windows: Add all of the AltusMetrum USB IDs to telemetrum.infKeith Packard2013-04-13
| | | | | | | | | | | | This should make Windows load the driver Signed-off-by: Keith Packard <keithp@keithp.com>
| * libaltos: Retry Windows serial port open five timesKeith Packard2013-04-12
| | | | | | | | | | | | Maybe this helps? Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Make sure the packet format is set reasonably for radio testKeith Packard2013-04-12
| | | | | | | | | | | | Dunno if this matters, but it might as well be set reasonably Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Remove spurious debug messageKeith Packard2013-04-12
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Don't include bufio debug commands by defaultKeith Packard2013-04-12
| | | | | | | | | | | | We shouldn't need these Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Stick a mutex around FAT operationsKeith Packard2013-04-12
| | | | | | | | | | | | This allows the command line and logging operations to occur safely in parallel Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Delay while waking up SD card a bitKeith Packard2013-04-12
| | | | | | | | | | | | | | | | This seems to make bringing the card from idle to ready mode more reliable. If you spam the card with requests, it will eventually whinge and shut down communications. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Shrink text so it fits on my phoneKeith Packard2013-04-13
| | | | | | | | | | | | Yes, this is a hack; will try to figure out how to make it resizeable Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: The Map already draws our location; no receiver marker neededKeith Packard2013-04-12
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Check state.gps != null before using itKeith Packard2013-04-12
| | | | | | | | | | | | Avoid crashing. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Remove spurious debug messageKeith Packard2013-04-12
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Compute course from android device to rocket, display itKeith Packard2013-04-12
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altoslib: Add range and elevation to AltosGreatCircleKeith Packard2013-04-11
| | | | | | | | | | | | Move the computations from AltosState here so they can be re-used elsewhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Mike was right -- only need one LocationListenerKeith Packard2013-04-11
| | | | | | | | | | | | | | I mis-read the docs and thought we needed two listeners, one for GPS and one for network position. Looks like we don't Signed-off-by: Keith Packard <keithp@keithp.com>
* | altosdroid: Send LOCATION and CRC_ERROR messages to UI.Keith Packard2013-04-11
|/ | | | | | | This collects all position changes and crc error increments and sends them along to the UI for presentation. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Hook up the position listenersKeith Packard2013-04-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add an outline of an AltosDroid chapterKeith Packard2013-04-09
| | | | | | Not much content yet, but I think this is pretty much the sections we need 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>
* altos: Monitor battery voltage on telebtKeith Packard2013-04-09
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2013-04-08
|\
| * altos: Create telebt-v1.0 product. Remove old telebt productsKeith Packard2013-04-08
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Create telebt-v1.0 product. Remove old telebt productsKeith Packard2013-04-08
|/ | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Try RDF mode for TX calibrationKeith Packard2013-04-06
| | | | | | | | Trying to get the radio to stop modulating the carrier when calibrating the radio, we'll try RDF mode which says no preamble or sync data. This might shift the frequency though? 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>
* altoslib: Make any incoming telem packet update the RSSI valueKeith Packard2013-04-02
| | | | | | | | Every packet has RSSI info, so use the latest one available. This makes telegps RSSI available as it never sends sensor packets (having no sensors). Signed-off-by: Keith Packard <keithp@keithp.com>
* Set telegps USB id to 0025Keith Packard2013-04-02
| | | | | | It was accidentally using the same ID as megadongle... Signed-off-by: Keith Packard <keithp@keithp.com>