summaryrefslogtreecommitdiff
path: root/altosdroid/src
Commit message (Collapse)AuthorAge
* altosdroid: Add configurable frequency setKeith Packard2016-04-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Split setup functions to separate dialogKeith Packard2016-04-26
| | | | | | | Remove them from the options menu, handle all preferences through listeners. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add idle mode monitoring, reboot. Start ignitersKeith Packard2016-04-25
| | | | | | | This adds three idle mode operations -- monitor idle, reboot flight computer and test igniters. The igniter test isn't quite wired up. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Run even without BluetoothKeith Packard2016-04-22
| | | | | | | This lets us view old state information on USB-only devices, or when the bluetooth device can't be enabled. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Redraw offline map when my location changesKeith Packard2016-04-22
| | | | | | Update the map view even if there isn't any current telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Track device location in app, not telemetry serviceKeith Packard2016-04-22
| | | | | | | This means we get location even if there isn't a telemetry device connected, making it possible to walk to old device locations Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Can only use message onceKeith Packard2016-04-21
| | | | | | | And here I thought re-using the message was clever. That generates a nice exception and crashes the program. Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library version numbersKeith Packard2016-04-21
| | | | | | Prepare for 1.6.3 release. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add debugging to AltosPreferences.state() etcKeith Packard2016-04-19
| | | | | | | This let me find why AltosDroid was losing the last state information for each target. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Don't set target location if lat/lon is MISSINGKeith Packard2016-04-19
| | | | | | Otherwise, we get a nice pointer to some random location on the planet. Signed-off-by: Keith Packard <keithp@keithp.com>
* Update java library versionsKeith Packard2016-01-10
| | | | | | altoslib is API incompatible with 1.6.1 release due to altos.state updates. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clean up remaining direct AltosState.state usersKeith Packard2015-10-13
| | | | | | | This value has been hidden to avoid having it written accidentally; there were a few more bits of code using it though. Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump Java library versionsKeith Packard2015-07-15
| | | | | | Avoid problems if you have an old version of the library installed Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Clean up tab layoutKeith Packard2015-07-11
| | | | | | | Fuss with weights and gravitys, then add some wrapping layouts to get things looking reasonable on small and larger screens. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add 'Auto' to map tracker listKeith Packard2015-07-11
| | | | | | Add an 'auto' menu entry when selecting trackers from the map. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Note time at startup to avoid flipping trackersKeith Packard2015-07-11
| | | | | | | Need to set the initial 'switch' time in onStart to avoid flipping between trackers before we've done any other 'switching' action. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add other igniter status, various other layout changesKeith Packard2015-07-11
| | | | | | | Show the first four igniters (A-D) in the pad tab. Make pad and flight layouts look a bit better Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Don't disconnect from bluetooth onStartCommandKeith Packard2015-07-11
| | | | | | | If we've already got a bluetooth connection running, don't slam it shut when the UI starts up again. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Remove a debug line in AltosVoiceKeith Packard2015-07-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Pop up menu of nearby trackers on map clickKeith Packard2015-07-11
| | | | | | | | This lets the user select one of potentially many overlapping trackers, and also makes it clear when the current tracker is being changed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Keep speaking even when screen is offKeith Packard2015-07-11
| | | | | | | | Move the voice and telemetry disabling calls from onStop to onDestroy so that a stopped application only leaves off updating the screen, and not the voice bits as well. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Preload maps based on distance rather than number of tilesKeith Packard2015-07-11
| | | | | | | This lets you get the specific area requested at all zoom levels, rather than having further detail only at lower resolution zooms. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Class of offline map view widget changedKeith Packard2015-06-25
| | | | | | Switch around AltosViewPager to match. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Display direction in map viewKeith Packard2015-06-24
| | | | | | Use direction in map view when available, otherwise use bearing 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>
* 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>
* 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: 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>
* 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>
* 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>
* altosdroid: Highlight age in red when older than 10 secondsKeith Packard2015-06-02
| | | | | | This lets you quickly identify stale data Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Switch from custom title to standard Holo themeKeith Packard2015-05-31
| | | | | | | This gives us the menu button, which is awfully useful on devices without a hardware version... Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Require 'debug' hook in AltosMapInterfaceKeith Packard2015-05-29
| | | | | | This lets the map users redirect debug messages as appropriate Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: use 'show' to set new tab contents in onResumeKeith Packard2015-05-29
| | | | | | | Hook onResume so that newly created/recreated tabs get current contents. The set_visible hook isn't sufficient for that. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Missing call to super.onDetach from TabMapOfflineKeith Packard2015-05-29
| | | | | | Causes an exception when you shut down the application. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Split out AltosMapView into separate fileKeith Packard2015-05-28
| | | | | | | | | This lets us use the regular layout configuration bits in the .xml file instead of needing to patch the map object into the display. That was causing problems when re-entering the map tab as the map view would somehow end up with a zero width. Signed-off-by: Keith Packard <keithp@keithp.com>