summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* altosuilib: Require all flight display classes to provide a nameKeith Packard2014-06-14
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: When GPS disappears, set range and elevation to MISSINGKeith Packard2014-06-14
| | | | | | | Use MISSING instead of bogus values so that displayers can tell what to do. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add units converters for latitude and longitudeKeith Packard2014-06-14
| | | | | | Makes display of these values consistent across all instances Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: TeleGPS docs are completeKeith Packard2014-06-13
| | | | | | All TeleGPS features should now be documented to some degree Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Allow TeleGPS preferences to have a custom title and labelKeith Packard2014-06-13
| | | | | | Don't just inherit the AltosUI ones Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add a bunch more stuff to the telegps docsKeith Packard2014-06-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Make map-cache per-window instead of globalKeith Packard2014-06-13
| | | | | | This consumes more memory, but avoids cache conflicts between windows Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Shuffle menu entries aroundKeith Packard2014-06-13
| | | | | | I think this makes them a bit more logical Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Improve voice for TeleGPSKeith Packard2014-06-13
| | | | | | This avoids making lots of useless voice announcements for TeleGPS Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Don't crash when the map is touchedKeith Packard2014-06-13
| | | | | | | The map 'canScroll' method was crashing when dereferencing a null value somewhere. Just check all of them and bail instead of crashing. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add status tabKeith Packard2014-06-13
| | | | | | This includes pad-relative information, battery voltage and version information Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Correctly save firmware version in AltosStateKeith Packard2014-06-13
| | | | | | It wasn't getting cloned Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add conversion class for voltagesKeith Packard2014-06-13
| | | | | | Provide a common presentation for voltage values Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Build some common classes for displaying values in flight windowKeith Packard2014-06-13
| | | | | | | | Right now, all of the flight displays have piles of custom code for displaying values. These new widgets should be able to replace most of that. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Show flight number in monitor windowKeith Packard2014-06-13
| | | | | | This lets the user find the flight by number Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Disconnect telemetry device when closing monitor windowKeith Packard2014-06-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Remove telem monitoring when closing log fileKeith Packard2014-06-13
| | | | | | | If we don't remove the telemetry monitor, the telemetry device will still be sending telemetry, which isn't good. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Call state.set_serial first for telemetry parsingKeith Packard2014-06-13
| | | | | | | If we ever get around to supporting multiple simultaneous remote devices, we'll need to notice that the serial changed right away Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Create new flight if current flight is erasedKeith Packard2014-06-12
| | | | | | | | | | | telegps is unique in that USB may be connected while a flight is active and sensible things should happen. If a flight is being recorded and gets erased, then a new flight should be started. This is done by hooking in the flight erase code and calling out to the tracker code to figure out whether to switch to a new flight or not. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Define ao_log_mutex in ao_log.c rather than every log productKeith Packard2014-06-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Keep ring of recent GPS positions to detect motion quicklyKeith Packard2014-06-12
| | | | | | | Instead of comparing only against the last logged value, keep a ring and start logging as soon as we move away from the furthest one in the ring. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Set default log to 496kB for 4 logsKeith Packard2014-06-12
| | | | | | This leaves space for four flight logs. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Show current flight number for TeleGPSKeith Packard2014-06-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* debian: Fix build depends icotool -> icoutilsKeith Packard2014-06-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Don't log data when plugged in to USBKeith Packard2014-06-12
| | | | | | | We don't want to accidentally log stuff when you're just trying to charge the battery. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Don't re-add frequency menu when already present.Keith Packard2014-06-12
| | | | | | | | | | If the receiver disappears, we'll stop tracking, but won't pull the frequency menu down. Doing that would take a bit of work, and it doesn't seem worth the effort. As a kludge-around, avoid re-creating the frequency menu if it's already displayed when we connect to another device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Reduce CPU time needed for flight displaysKeith Packard2014-06-12
| | | | | | | | | | Don't update displays which aren't shown; track hierarchy changes to trigger display from most recent state data. Don't update values which haven't changed; remember previous values and compare with new before updating widget contents. Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Add TeleGPS screenshotsKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update altusmetrum docs and screen shots for 1.4Keith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Remove 'Flight' from titlesKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telegps: Build .ihx versions for TeleGPSKeith Packard2014-06-11
| | | | | | Needed to load with java Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Repaint map when starting line drawKeith Packard2014-06-11
| | | | | | | Starting line draw will remove any existing line, so repaint to get rid of it Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Report GPS height when baro height is not availableKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Don't list tracker parameters when configuring altimeterKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Handle font and units changes in maps and stats tableKeith Packard2014-06-11
| | | | | | Add AltosFontListener and AltosUnitsListener bits as needed Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update 1.4 release notes to include a few more changesKeith Packard2014-06-11
| | | | | | | pyro firing time. flight erase on TeleMega/TeleMetrum v2 Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add pyro firing time configurationKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Altosdroid build doesn't work in parallel, so stop tryingKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Re-enable telemini v2.0 buildsKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/telemini-v2.0: Disable beep frequency config on TeleMini v2.0Keith Packard2014-06-11
| | | | | | Not enough flash otherwise. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Remove old widget-based map UIKeith Packard2014-06-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Disable TeleMini v2.0 build for nowKeith Packard2014-06-11
|
* altoslib: Use GPS seconds as an additional sort key for TeleGPS eepromKeith Packard2014-06-11
| | | | | | | | Long idle periods with TeleGPS can easily overflow 16 bits of tick count. Using the GPS seconds provides an additional sort which will span the tick wrap-around. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Rewrite map GUI bitsKeith Packard2014-06-11
| | | | | | Use a single large Canvas and draw images on top by hand. Signed-off-by: Keith Packard <keithp@keithp.com>
* telegps: Add statistics tab to graph UIKeith Packard2014-06-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Move AltosFlightStatsTable to altosuilibKeith Packard2014-06-10
| | | | | | So that TeleGPS can share it Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Skip voice announcements for invalid valuesKeith Packard2014-06-10
| | | | | | When height and speed values aren't available, don't say anything Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Show "Missing" instead of huge numbers in descent/landed tabsKeith Packard2014-06-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Use GPS speed/height values when other sensors are missingKeith Packard2014-06-10
| | | | | | | | This lets TeleGPS report height/speed values without needing to customize every AltosState user to pull out GPS values when the other sensors aren't present. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Split battery graph enable out from other adc enablesKeith Packard2014-06-10
| | | | | | | | This lets TeleGPS just show the battery voltage values without also adding enable lines for the other flight computer ADC values like ignitor voltages. Signed-off-by: Keith Packard <keithp@keithp.com>