summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Bump version to 1.6.0.31.6.0.3Keith Packard2015-06-23
| | | | | | Mark the release of 1.6.0.3 altosdroid Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Update version numbers in manifestKeith Packard2015-06-23
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Mark tab-dependent voice output as doneKeith Packard2015-06-23
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Make sure flight voice output always starts with 'speed'Keith Packard2015-06-23
| | | | | | | This resets the flight-mode voice output state back to start again each time the flight tab is selected Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Make sure whole flight state is spoken even when no-one is movingKeith Packard2015-06-23
| | | | | | | This eliminates the case where much of the flight state wasn't reported if the tracker or receiver weren't moving. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Typo slipped into AltosState.javaKeith Packard2015-06-23
| | | | | | Oops. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Change voice output aroundKeith Packard2015-06-23
| | | | | | | | | | | | | | | | | | | | | | | This makes the voice output depend on the current displayed tab; where the 'recovery' and 'map' tabs get the same value. Pad Reports igniter and GPS status changes Flight Report flight state changes and max height after apogee Report current speed, height and bearing/elevation/range once every 10 seconds while the rocket is in motion. Recovery Report distance and bearing when the location of either the tracker or the receiver changes by more than 10m, but not more than once every 10 seconds. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Define strings for the tab namesKeith Packard2015-06-23
| | | | | | | Use these everywhere instead of replicating the same name; might reduce errors. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Show direction to target in recover tabKeith Packard2015-06-23
| | | | | | | | This takes the bearing to target and current direction of motion (from the Android API) and computes a turn amount and displays that so you don't have to know which way is north when walking towards the rocket. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use a longer filter for descent valuesKeith Packard2015-06-23
| | | | | | This makes descent speeds almost useful, a huge improvement Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Fix line drawing to old tracker locationKeith Packard2015-06-22
| | | | | | | | Selecting an old tracker would often fail to switch the bearing line as it was using the map data instead of just using the local data for the relavant tracker. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Mark four-tab change doneKeith Packard2015-06-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Allow tracker selection from online map widgetKeith Packard2015-06-22
| | | | | | Need separate tracker selection code for online maps Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Switch to four tabs (pad/flight/recover/map)Keith Packard2015-06-22
| | | | | | Ascent and descent were almost the same; no reason to have both. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Select tracker by clicking on mapKeith Packard2015-06-22
| | | | | | | This lets you pick a tracker from the map, rather than having to use the menu. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Get rid of on-line only maps tabKeith Packard2015-06-22
| | | | | | | The offline tab did both, so delete the online one and replace it with the offline one. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Display online/offline maps in same tabKeith Packard2015-06-22
| | | | | | | Make the map portion switchable between online and offline maps, leaving the rest of the tab alone. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add map source preferenceKeith Packard2015-06-22
| | | | | | Not hooked up yet. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Show receiver battery voltage in the 'pad' viewKeith Packard2015-06-22
| | | | | | Helpful to determine when the receiver battery is getting low Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Use AltosMap set_zoom_centreKeith Packard2015-06-22
| | | | | | This keeps the center of the zoom gesture pinned to the screen. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Use AltosMap set_zoom_centre instead of in-line versionKeith Packard2015-06-22
| | | | | | Shares the same function with altosdroid this way. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add set_zoom_centre to AltosMapKeith Packard2015-06-22
| | | | | | | This zooms around a specific point, keeping it at the same place on the screen. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Multiple tracker support for google mapsKeith Packard2015-06-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Stack map markers with newest rocket on topKeith Packard2015-06-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Support for sorting rockets by ageKeith Packard2015-06-22
| | | | | | Now we can just sort rockets so that the top-most shown is the newest Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Remove debugKeith Packard2015-06-22
| | | | | | Just noise at this point. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Switch trackers automatically when changing freq or baudKeith Packard2015-06-22
| | | | | | | This works by switching trackers when we receive telemetry newer than the last time we changed the frequency configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Allow for no transform in map mouse wheel functionKeith Packard2015-06-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clean up map tile removalKeith Packard2015-06-22
| | | | | | | Remove them while walking the hash table, rather than creating a list to remove. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Fix equals methods, add hashCodeKeith Packard2015-06-22
| | | | | | | | Whenever we use a class as a HashMap key, that class needs to override the equals(Object) and hashCode() methods. Otherwise, the hash table won't work right. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Make turnon_easymega run without 'make install'Keith Packard2015-06-18
| | | | | | Use relative paths for all altos tools Signed-off-by: Keith Packard <keithp@aimi.keithp.com>
* ao-bringup: Use local versions of tools instead of /usr/bin for turnon_easymegaKeith Packard2015-06-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Fail turnon_easymega if accel cal failsKeith Packard2015-06-18
| | | | | | This prevents a failing board from being reported as good Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: use new AltosUIFrame constraint helperKeith Packard2015-06-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Update mac/windows FTDI driversKeith Packard2015-06-17
| | | | | | Use latest FTDI drivers. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Create grid-bag helper functions in AltosUIFrameKeith Packard2015-06-17
| | | | | | This eases the burden of creating suitable GridBagConstraints values Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Show state.product if state.device_type isn't setKeith Packard2015-06-17
| | | | | | MonitorIdle doesn't get the device type, only the product. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove debug output from AltosMapKeith Packard2015-06-17
| | | | | | It's just annoying now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Expose public function to set state.productKeith Packard2015-06-17
| | | | | | Just adds a setter function for this value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Let the application disable the link cancel dialogKeith Packard2015-06-17
| | | | | | | This lets the application control whether to pop up the cancel dialog when the link isn't working. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set product for idle monitorKeith Packard2015-06-17
| | | | | | This lets the UI show the product name Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosRobert Garbee2015-06-13
|\
| * altosdroid: Resource changes needed for multi-tracker modeKeith Packard2015-06-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Note recent changesKeith Packard2015-06-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Add multi-tracker supportKeith Packard2015-06-06
| | | | | | | | | | | | | | This lets you view multiple trackers in the offline maps tab (online maps not done yet), saves state of each tracker to preferences. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altoslib: Add preferences for saving/restoring multiple flight statesKeith Packard2015-06-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools: Add missing ao-cal-freq man pageKeith Packard2015-06-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Do telegps freq cal before testing GPSKeith Packard2015-06-05
| | | | | | | | | | | | | | This lets the GPS get some time to see sats while we're messing with the radio frequency calibration. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Use new ao-cal-freq program for cal-freq scriptKeith Packard2015-06-05
| | | | | | | | | | | | Remove shell script bits that were unreliable. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-tools: Create ao-cal-freqKeith Packard2015-06-05
| | | | | | | | | | | | | | Create C-based frequency calibration program to replace shell script which isn't reliable. Signed-off-by: Keith Packard <keithp@keithp.com>