summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * 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>
* altosuilib: Get rid of AltosUIVersion.javaKeith Packard2015-05-26
| | | | | | It's been moved to altoslib/AltosVersion.java Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove old map bitsKeith Packard2015-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Use new map code for map preload UIKeith Packard2015-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Add AltosUIImage.javaKeith Packard2015-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Get new Map display code running in altosui and telegpsKeith Packard2015-05-26
| | | | | | | Looks like the display is all hooked up. Still need to replace the preload UIs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosuilib: Update library version to 7Keith Packard2015-05-25
| | | | | | So many ABI/API changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: More frobbing with new map bitsKeith Packard2015-05-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Get new abstract mapping code compilingKeith Packard2015-05-25
| | | | | | Not useful yet, but at least it compiles now? Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Build AltosVersion.java in configure.acKeith Packard2015-05-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telelco: Show box voltage with pad knob instead of firing buttonKeith Packard2015-05-25
| | | | | | | | Turn left past '1' and see the firing box battery voltage instead of pushing the firing button with the box disarmed. This seems like a safer UI. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telelco: Display telefire battery voltageKeith Packard2015-05-25
| | | | | | | When the firing button is pressed while unarmed, show the telefire battery voltage in the display. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telelco v0.3 (v0.2 with cc1200 instead of cc1120)Keith Packard2015-05-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telefire: Report telefire battery voltage over telemetry linkKeith Packard2015-05-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Only set CMAC RSSI value on valid packet receivedKeith Packard2015-05-24
| | | | | | | | This ignores spurious packets for the purpose of showing the RSSI value in telelco/telefire, avoiding warning about 'low RSSI' when the radio receives noise. Signed-off-by: Keith Packard <keithp@keithp.com>
* telefire: Make 'good' RSSI value configurableKeith Packard2015-05-24
| | | | | | | | Different radios will have different 'good' RSSI values, so let each product configure it, leaving the default set to -90dBm, which is a solid signal value for the CC1111. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Create display-independent map support codeKeith Packard2015-05-21
| | | | | | This takes the swing-specific map code and creates a generic version. Signed-off-by: Keith Packard <keithp@keithp.com>
* Flip version to 1.6.0.2Keith Packard2015-05-19
| | | | | | Tag a version for development builds Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Use fast load mode by default in -load scriptKeith Packard2015-05-19
| | | | | | Speed up flashing in default config Signed-off-by: Keith Packard <keithp@keithp.com>
* microsplash: Add 'publish' target to MakefileKeith Packard2015-05-19
| | | | | | | This dumps the resulting binary and -load script into the Binaries directory of the altusmetrumllc repo Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Support 32MHz xtal on cc1200Keith Packard2015-05-19
| | | | | | | I ended up building some cc1200-based boards with 32MHz xtals, so just make this an option when building the driver. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Clarify what 'after motor' meansKeith Packard2015-05-19
| | | | | | Note that this means after motor burn-out, not after motor start. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-dump-up: Add --wait option to make testing µPusb easierKeith Packard2015-05-19
| | | | | | | | The --wait option hangs around until a suitable device appears, so that you can test a pile of µPusb devices without needing to constantly interact with the command line. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Remove un-implemented --fetchmaps argumentKeith Packard2015-05-19
| | | | | | This has been stubbed out for a while, so just remove it. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Expose locale and non-locale floating point parsing functionsKeith Packard2015-05-19
| | | | | | | | | UI bits use locale-specific floating point formats, so parsing those needs to use the locale. Network-based data, like .kml bits need to use non-locale-specific parsing code, so now we've got both APIs available, and each used as appropriate. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use Locale.ROOT for KML exportKeith Packard2015-05-18
| | | | | | | This avoids locale-specific number formatting, which breaks googleearth when importing the resulting file. Signed-off-by: Keith Packard <keithp@keithp.com>