summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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>
* altoslib: Check for time going backwards when replaying from fileKeith Packard2014-06-10
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Add new 'stateless' flight state for TeleGPSKeith Packard2014-06-10
| | | | | | | TeleGPS has no flight state, so add a new 'stateless' state for code to handle this case differently than any of the existing states Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: TeleGPS no longer logs satellite informationKeith Packard2014-06-10
| | | | | | This doubles the amount of space available to log position information Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/telegps: Switch TeleGPS config to motion/intervalKeith Packard2014-06-10
| | | | | | | | TeleGPS had configurable boost-detect values; those have been replaced with a configurable stop-tracking motion limit and logging/telemetry interval value. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib/altosui/telegps: Change log size configurationKeith Packard2014-06-10
| | | | | | | | | | | | | * Use new log-space value provided by firmware when available. * Divide that up into 1-8 flights and offer those sizes as options to the user instead of a fixed set of sizes. * Show how many flights each selection will store * This also checks values provided by the user Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Set TeleGPS default log size to half of avaiable memoryKeith Packard2014-06-10
| | | | | | | | LPC11U14 doesn't have on-chip config space, so we're consuming a block of external flash. As a result, only 1984kB are available for logging. Set the default log size to half of that to store two flights. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Simplify tracker logic, removing boost detectKeith Packard2014-06-10
| | | | | | | | | | This removes the ao_flight_state value from the tracker code and makes it simply log position information when the device has moved within the last 10 log intervals. This also changes the configuration parameters to define what 'motionless' means, and what interval to configure the GPS receiver for, log data and send telemetry. Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert adding state to GPS location packetsKeith Packard2014-06-10
| | | | | | TeleGPS no longer has ao_flight_state Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "ao-tools: Parse TeleGPS state value from gps location packet"Keith Packard2014-06-10
| | | | This reverts commit 428d09294ba0395fedd71346ad00fd90a4cdde97.
* altos: Make extra pyro channel firing time configurableKeith Packard2014-06-10
| | | | | | | This adds a 'I' parameter to set the extra pyro channel firing time (in ticks). This has no effect on the main/drogue channels. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Report total available log space in version commandKeith Packard2014-06-10
| | | | | | | | This provides a more accurate means of determining available log space than guessing whether some portion of the flash chip holds configuration data. Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "altos: Write current flight state to GPS data from GPS drivers"Keith Packard2014-06-10
| | | | This reverts commit db6003d34595fbd103d5b131912b6a797254f1c5.
* Revert "altoslib: Parse TeleGPS state value from GPS telemetry packet"Keith Packard2014-06-08
| | | | This reverts commit d69547796caf74405f8304d23d4ae318315bbd7b.
* Bump to version 1.3.2.41.3.2.4Keith Packard2014-06-07
|