summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
| * 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>
* | add beep when test completesRobert Garbee2015-06-13
|/
* 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>
* altosdroid: Add 'Current Location' as an option when preloading mapsKeith Packard2015-05-28
| | | | | | | This lets you load maps around your current location, in case your favorite launch site isn't in the list. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Save selected map type in AltosDroid objectKeith Packard2015-05-28
| | | | | | | The map tabs may not have been created when the map type was selected, so save the desired type in the main application object. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Disable debug output on release buildsKeith Packard2015-05-28
| | | | | | | We generate an awful lot of debug spew to the log; presumably that's not helping performance, so lose that for release builds. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Look for zipalign in the new place tooKeith Packard2015-05-28
| | | | | | This build tool moved for some reason... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add map types and map preloading UIsKeith Packard2015-05-28
| | | | | | | This adds an ugly dialog to select which maps to preload, and also adds the ability to display other map types. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Pass all map loader params to set_load_paramsKeith Packard2015-05-28
| | | | | | | | Add zoom and map type to the param list so we don't call set_zoom and set_maptype separately, which only causes lots of extra image loads to get started unnecessarily. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Eliminate extra MapCache in AltosUIMapPreloadNewKeith Packard2015-05-28
| | | | | | Use the cache from the map. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Get rid of AltosUIMapNew.set_load_paramsKeith Packard2015-05-28
| | | | | | This isn't needed anywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Switch to altoslib map loading codeKeith Packard2015-05-27
| | | | | | | Remove the map loading code from the UI bits and use the new altoslib version instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add map loading helper classKeith Packard2015-05-27
| | | | | | | This adds the AltosMapLoader class, which iterates over a sequence of zoom levels and formats to get local copies of a desired launch site. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Provide toString method for AltosLatLonKeith Packard2015-05-27
| | | | | | Makes printing them easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Start with map emptyKeith Packard2015-05-27
| | | | | | | Don't load images from 0,0 for no good reason; wait until someone sets a desired lat/lon Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Use altoslib site list loaderKeith Packard2015-05-27
| | | | | | Removes the custom version and uses the shared code Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosLaunchSite bitsKeith Packard2015-05-27
| | | | | | | This asynchronously fetches the list of available launch sites from the standard location and notifies the caller when finished. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Place icons on screen instead of drawing pathKeith Packard2015-05-26
| | | | | | This makes drawing a bunch faster, and locating stuff on the screen easier. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Centralize debug printf codeKeith Packard2015-05-26
| | | | | | Create AltosDebug to hold the debug code, use it everywhere. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Move pause before reopening bluetooth into connec threadKeith Packard2015-05-26
| | | | | | This avoids stalling the UI while waiting for TBT to boot. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Add offline map tabKeith Packard2015-05-26
| | | | | | | It's not very fancy yet, but it does zoom and pan, and show the path of the rocket with a line. Signed-off-by: Keith Packard <keithp@keithp.com>