summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* doc: pad/idle indicator table was bustedKeith Packard2016-05-26
| | | | | | | I stuck a pile of extra '|' characters in the table by mistake. Reported-by: Stan <stanleyosmith@gmail.com> Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rename AltosUIMap*New.java to AltosUIMap*.javaKeith Packard2016-05-24
| | | | | | This code isn't really new anymore... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Have map preload respond to units and font size changesKeith Packard2016-05-24
| | | | | | | Just add suitable listeners so that the display updates when preferences change. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: use miles for distances > 1000ft.Keith Packard2016-05-24
| | | | | | | This makes both the map line and the other distance displays use miles for distances greater than 1000 feet. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add monitor idle modeKeith Packard2016-05-15
| | | | | | | This monitors directly connected devices. No support for doing monitor idle using packet mode, as TeleGPS doesn't support that. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Use log_space when flight_log_max is missingKeith Packard2016-05-15
| | | | | | TeleGPS has this, but not flight_log_max Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add AltosIdleReaderKeith Packard2016-05-15
| | | | | | | This provides an AltosFlightReader interface for monitor idle mode, making that easier to provide in TeleGPS Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add log_space to AltosStateKeith Packard2016-05-15
| | | | | | | TeleGPS doesn't have flight_log_max value, but does have log_space which we can use for the same thing in monitor idle mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Set version and log space from AltosIdleFetchKeith Packard2016-05-15
| | | | | | Just more data for monitor idle mode Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Allow empty values in AltosHashSet representationKeith Packard2016-05-15
| | | | | | Check for value termination before appending the first character. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Store saved state in version-independent formatKeith Packard2016-05-12
| | | | | | | Use AltosHashSet for AltosState so that AltosDroid doesn't lose tracker information when the application is upgraded. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Store common frequencies in library version-independent formKeith Packard2016-05-12
| | | | | | | | | | | | | | | Serializable Objects in java are very specific to the class being serialized. As we bump the name of the library on a regular basis to note API/ABI issues, this mean a saved a Serializable object in the preferences database will fail to load across library version upgrades. The saved tracker state and saved common frequencies were the only objects saved in this form; this patch adds infrastructure for writing objects in a version-independent form, and then adds support for saving frequencies in that form. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps/micropeak: Handle both MULTI_LIB and non-MULTI_LIB buildsKeith Packard2016-05-12
| | | | | | | | | | | | | On x86 systems with -m32 and -m64 compilers, both libaltos32.so and libaltos64.so are built. Otherwise, we should use libaltos.so altosui only dealt with libaltos32.so and libaltos64.so, so it only worked on MULTI_LIB systems. telegps and micropeak only used libaltos.so, so they wouldn't work correctly on multi-lib systems. Fix all of them to work either way. Signed-off-by: Keith Packard <keithp@keithp.com>
* Automatically run 'git submodule update' if necessaryKeith Packard2016-05-12
| | | | | | | This makes sure pdclib exists by updating for the all and all-recursive targets Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump java library versionsKeith Packard2016-05-12
| | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
* Bump android app versionKeith Packard2016-05-12
| | | | | | Prepare for 1.6.4 release Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Adapt to distance units switching changesKeith Packard2016-05-11
| | | | | | 'show_units' is no longer available; use 'parse_units' instead Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Get rid of AltosMap from AltosMapLoaderKeith Packard2016-05-11
| | | | | | | Cleans up the loader API and eliminates a AltosMapTile for every chunk of map data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: make disconnect stick past pause/restartKeith Packard2016-05-11
| | | | | | | Clear the active_device preference on disconnect so we don't reconnect anytime the service gets activated. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Clean up map file and url handlingKeith Packard2016-05-11
| | | | | | move it all to AltosMapStore.java Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Start update for 1.6.4Keith Packard2016-05-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Don't flicker missing voltages when changing unitsKeith Packard2016-05-11
| | | | | | | | For some reason, a value of MISSING -1 was getting used, which caused displays to light up briefly with a weird value when switching between metric and imperial units. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Rate limit map loading pacifierKeith Packard2016-05-11
| | | | | | Just like in altosui. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Allow map preloading to be abortedKeith Packard2016-05-11
| | | | | | | Close the map preload dialog and it would be nice to stop loading map bits. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rate limit map loading pacifier updatesKeith Packard2016-05-11
| | | | | | | Just updating the pacifier was consuming a huge amount of CPU. Update no more than once every 100ms. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove some debug printf callsKeith Packard2016-05-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Switch distance from m/ft to km/miles for large valuesKeith Packard2016-05-11
| | | | | | | This adds lots of infrastructure to deal with making the unit used depend on the value itself, and then uses it only for distances. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add TeleMega to spec list. Add TeleGPS RF output.Keith Packard2016-05-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Publish firmware with keithp-fatKeith Packard2016-05-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Check for closed before writing/reading bluetoothKeith Packard2016-05-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Ship firmware for new hardwareKeith Packard2016-05-11
| | | | | | TBT v3.0 and Tmega v2.0 Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2016-05-09
|\
| * Bump version to 1.6.3.1v1.6.3.1Keith Packard2016-05-09
| | | | | | | | | | | | Post 1.6.3 release Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1111: Use SW to drive UART RTS pinKeith Packard2016-05-09
| | | | | | | | | | | | Can't get the hw to work. Signed-off-by: Keith Packard <keithp@keithp.com>
* | process updates made during 1.6.3 release cycleBdale Garbee2016-05-09
|/
* Ignore some built files for 1.6.3Keith Packard2016-05-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2016-05-06
|\
| * windows: Change install to look for browser in a different placeKeith Packard2016-05-06
| | | | | | | | | | | | The windows registry is a mystery. Signed-off-by: Keith Packard <keithp@keithp.com>
* | add beep to TeleMega turnon scriptBdale Garbee2016-05-06
|/
* altoslib: Fix map preloading callbacks, run in separate threadKeith Packard2016-05-05
| | | | | | | | | | | | | | | | | The map storage and tile callbacks were muddled together. Create clearly separate states for map data and have status updates be delivered when registering for new status events so that registration is sufficient to track the state without an explicit call to get the current state. Run the map tile creation in a separate thread so that even checking status of files on disk runs out of the UI thread. These fixes serve to make the pacifier update more smoothly, and also not over/under count tile loading so that the loading actually completes when all of the tiles are loaded. Signed-off-by: Keith Packard <keithp@keithp.com>
* micropeak: Change order of windows install so that java detect worksKeith Packard2016-05-04
| | | | | | | | I have no idea why this matters, but if you run the FTDI script before trying to detect java, then the javaw.exe program isn't found and java detection fails. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: 1.6.3 release notes note TeleBT rts/cts and TM 2.0 monitor idle fixesKeith Packard2016-05-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update AltosDroid chapter for 1.6.3Keith Packard2016-05-04
| | | | | | New menu structure, idle mode and frequency configuration Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure AO_MMA655X_INVERT is declared where neededKeith Packard2016-05-02
| | | | | | | | Add #define AO_MMA655X_INVERT 0 to existing products which didn't declare it at all. This will make sure the value is set correctly for each new board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with TeleMetrum v2.0 MMA6555 being invertedKeith Packard2016-05-02
| | | | | | | | | | | | | | | | Dumping the MMA655X data with the 'A' command provides the raw sensor value. On TM v2.0 boards, the sensor is inverted, and all of the firmware uses the inverted value except for the 'dump the raw data' command. As a result, MonitorIdle was using the un-inverted value and displaying mystic values. I've fixed this in the ground station code by checking the product name and conditionally inverting the value (4095 - value) for TeleMetrum v2.0 products. Unknown products will generate a warning dialog on AltosUI so we'll catch places where we've failed to add a new product name. Signed-off-by: Keith Packard <keithp@keithp.com>
* publish AltosDroid in keithp-fat targetKeith Packard2016-04-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Flush during set_state. Don't store listener state.Keith Packard2016-04-30
| | | | | | | | The listener state wasn't used anyways, so don't bother storing it. Also, flush the state during set_state, which actually causes the state to be written out. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Correct stats for flights without a real landingKeith Packard2016-04-30
| | | | | | | | | | | | The landing time was miscomputed when the flight ended without entering the landed state, as when the recording terminates at apogee. This led to an uncomputed average boost accel, so that is now checked separately from max accel (which is done over the whole flight, not just boost). Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: max height is a height, not a speedKeith Packard2016-04-30
| | | | | | Was using the wrong units in the flight tab Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "altos/stm: Run scheduler code on interrupt stack"Keith Packard2016-04-30
| | | | | | This reverts commit 6a9546413d6a236c010e806b50506d870961d074. This causes the device to stop reliably handling interrupts.