fw/altos
8 weeks agoupdate changelog for Debian build debian debian/1.4.1-1
Bdale Garbee [Wed, 25 Jun 2014 03:57:38 +0000 (21:57 -0600)]
update changelog for Debian build

8 weeks agoMerge branch 'branch-1.4' into debian
Bdale Garbee [Wed, 25 Jun 2014 03:56:25 +0000 (21:56 -0600)]
Merge branch 'branch-1.4' into debian

8 weeks agoupdate ChangeLog for release 1.4.1
Bdale Garbee [Wed, 25 Jun 2014 03:55:18 +0000 (21:55 -0600)]
update ChangeLog for release

8 weeks agoreleasing 1.4.1
Bdale Garbee [Wed, 25 Jun 2014 03:54:30 +0000 (21:54 -0600)]
releasing 1.4.1

8 weeks agoMerge branch 'branch-1.4' of ssh://git.gag.com/scm/git/fw/altos into branch-1.4
Bdale Garbee [Wed, 25 Jun 2014 03:31:53 +0000 (21:31 -0600)]
Merge branch 'branch-1.4' of ssh://git.gag.com/scm/git/fw/altos into branch-1.4

8 weeks agoneed the api key in Bdale's root too
Bdale Garbee [Wed, 25 Jun 2014 03:22:26 +0000 (21:22 -0600)]
need the api key in Bdale's root too

8 weeks agomake sure to use Google Maps API key for official builds
Bdale Garbee [Wed, 25 Jun 2014 03:12:59 +0000 (21:12 -0600)]
make sure to use Google Maps API key for official builds

8 weeks agonotes updated for TeleGPS and 1.4 release learnings
Bdale Garbee [Mon, 16 Jun 2014 00:41:25 +0000 (18:41 -0600)]
notes updated for TeleGPS and 1.4 release learnings

8 weeks agoaltosuilib: Mark 'Configure AltosUI' window with maps key status
Keith Packard [Wed, 25 Jun 2014 03:15:38 +0000 (20:15 -0700)]
altosuilib: Mark 'Configure AltosUI' window with maps key status

This lets us check a build to make sure it has a maps key

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoAdd note about including Google maps API key
Keith Packard [Fri, 20 Jun 2014 18:56:58 +0000 (11:56 -0700)]
Add note about including Google maps API key

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoAdd 1.4.1 release notes
Keith Packard [Fri, 20 Jun 2014 18:51:11 +0000 (11:51 -0700)]
Add 1.4.1 release notes

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosui: Ship TeleMetrum v2.0 firmware with AltosUI
Keith Packard [Wed, 18 Jun 2014 21:16:36 +0000 (14:16 -0700)]
altosui: Ship TeleMetrum v2.0 firmware with AltosUI

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoFix java version detection and downloading
Keith Packard [Wed, 18 Jun 2014 03:46:33 +0000 (20:46 -0700)]
Fix java version detection and downloading

Move java stuff to a common include file, java.nsh

Let any version no older than 1.6 serve by using ${VersionCompare}

Use version 6 downloads as those don't require a click-through agreement.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoSign our .inf file with the comodo key. Update signing-driver
Keith Packard [Tue, 17 Jun 2014 07:08:03 +0000 (00:08 -0700)]
Sign our .inf file with the comodo key. Update signing-driver

I've tested this on Windows 7 and it appears to work. No idea if it
works on Windows 8 yet.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoupdate changelog for Debian build debian/1.4-1
Bdale Garbee [Sun, 15 Jun 2014 23:52:23 +0000 (17:52 -0600)]
update changelog for Debian build

2 months agoMerge branch 'branch-1.4' into debian
Bdale Garbee [Sun, 15 Jun 2014 23:47:41 +0000 (17:47 -0600)]
Merge branch 'branch-1.4' into debian

2 months agoturn-on support for TeleGPS 1.4
Bdale Garbee [Sun, 15 Jun 2014 23:44:42 +0000 (17:44 -0600)]
turn-on support for TeleGPS

2 months agotagging 1.4 release
Bdale Garbee [Sun, 15 Jun 2014 23:43:50 +0000 (17:43 -0600)]
tagging 1.4 release

2 months agoadd release to revision history
Bdale Garbee [Sun, 15 Jun 2014 23:43:06 +0000 (17:43 -0600)]
add release to revision history

2 months agotweaks
Bdale Garbee [Sun, 15 Jun 2014 23:40:27 +0000 (17:40 -0600)]
tweaks

2 months agoMerge remote-tracking branch 'origin/master'
Keith Packard [Sun, 15 Jun 2014 23:31:01 +0000 (16:31 -0700)]
Merge remote-tracking branch 'origin/master'

2 months agomicropeak: Deal with 64-bit windows
Keith Packard [Sun, 15 Jun 2014 23:24:28 +0000 (16:24 -0700)]
micropeak: Deal with 64-bit windows

Install 64-bit version of java. Install our bits in the 64-bit app directory

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoAdd notes about windows driver signing in the 'signing-driver' file
Keith Packard [Sun, 15 Jun 2014 23:16:59 +0000 (16:16 -0700)]
Add notes about windows driver signing in the 'signing-driver' file

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosui: Ship telegps firmware
Keith Packard [Sun, 15 Jun 2014 23:11:49 +0000 (16:11 -0700)]
altosui: Ship telegps firmware

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agowindows: Sign altusmetrum.inf with altusmetrum.cat
Keith Packard [Sun, 15 Jun 2014 23:10:15 +0000 (16:10 -0700)]
windows: Sign altusmetrum.inf with altusmetrum.cat

This .cat file will need to be updated when we get our 'real'
signature.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoicon: Add drop-shadows to the SVG files; stop generating in the png versions
Keith Packard [Sun, 15 Jun 2014 23:06:42 +0000 (16:06 -0700)]
icon: Add drop-shadows to the SVG files; stop generating in the png versions

Now everyone gets drop shadows.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoupdate Releasing document to include TeleGPS firmware files in those copied
Bdale Garbee [Sun, 15 Jun 2014 23:29:49 +0000 (17:29 -0600)]
update Releasing document to include TeleGPS firmware files in those copied

2 months agodocument mounting hole size for TeleGPS
Bdale Garbee [Sun, 15 Jun 2014 23:28:02 +0000 (17:28 -0600)]
document mounting hole size for TeleGPS

2 months agoaltosui: Deal with 64-bit windows
Keith Packard [Sun, 15 Jun 2014 23:08:27 +0000 (16:08 -0700)]
altosui: Deal with 64-bit windows

Get a 64-bit java version installed

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Deal with 64-bit windows differently on install
Keith Packard [Sun, 15 Jun 2014 21:09:09 +0000 (14:09 -0700)]
telegps: Deal with 64-bit windows differently on install

Download a 64-bit version of java as needed, install in 64-bit paths
instead of 32-bit paths.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agowindows: Rename telemetrum.inf to altusmetrum.inf
Keith Packard [Sun, 15 Jun 2014 19:39:49 +0000 (12:39 -0700)]
windows: Rename telemetrum.inf to altusmetrum.inf

Use the corporate name for this file

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Include telegps firmware in windows package
Keith Packard [Sun, 15 Jun 2014 05:29:01 +0000 (22:29 -0700)]
telegps: Include telegps firmware in windows package

This was disabled when the firmware wasn't ready yet

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Remove some debugging printfs
Keith Packard [Sun, 15 Jun 2014 05:23:10 +0000 (22:23 -0700)]
altosuilib: Remove some debugging printfs

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltoslib: AltosFlightStatsTable: another editable text field that shouldn't be
Keith Packard [Sun, 15 Jun 2014 03:08:40 +0000 (20:08 -0700)]
altoslib: AltosFlightStatsTable: another editable text field that shouldn't be

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Serialize access to async tile notify function in preload
Keith Packard [Sun, 15 Jun 2014 01:51:25 +0000 (18:51 -0700)]
altosuilib: Serialize access to async tile notify function in preload

This ensures that we see each tile getting downloaded and don't
mis-count, which would result in wedging the process

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoicon: Make the icon shadows a bit less harsh
Keith Packard [Sun, 15 Jun 2014 01:34:09 +0000 (18:34 -0700)]
icon: Make the icon shadows a bit less harsh

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agodebian: Build requires /usr/bin/convert now
Keith Packard [Sun, 15 Jun 2014 01:11:28 +0000 (18:11 -0700)]
debian: Build requires /usr/bin/convert now

This is provided by either graphicsmagick or imagemagick

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps/micropeak: Ship built Mac OSX icons
Keith Packard [Sun, 15 Jun 2014 01:09:31 +0000 (18:09 -0700)]
telegps/micropeak: Ship built Mac OSX icons

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoicon: Build resolutions needed for Java bits too
Keith Packard [Sun, 15 Jun 2014 01:07:39 +0000 (18:07 -0700)]
icon: Build resolutions needed for Java bits too

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosui: Build MacOSX icon from svg
Keith Packard [Sun, 15 Jun 2014 01:06:36 +0000 (18:06 -0700)]
altosui: Build MacOSX icon from svg

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoicon: Build windows ico files, clean built files
Keith Packard [Sun, 15 Jun 2014 01:02:51 +0000 (18:02 -0700)]
icon: Build windows ico files, clean built files

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoicon: Create all icons from .svg files
Keith Packard [Sun, 15 Jun 2014 00:51:46 +0000 (17:51 -0700)]
icon: Create all icons from .svg files

Remove images from repository, leaving only the svg files and build
instructions

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Make graph enable buttons be CheckBoxes instead of RadioButtons
Keith Packard [Sat, 14 Jun 2014 23:26:22 +0000 (16:26 -0700)]
altosuilib: Make graph enable buttons be CheckBoxes instead of RadioButtons

aj noticed.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Fix Mac icon file name
Keith Packard [Sat, 14 Jun 2014 23:05:51 +0000 (16:05 -0700)]
telegps: Fix Mac icon file name

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agomicropeak: Make statistics entries un-editable
Keith Packard [Sat, 14 Jun 2014 22:44:20 +0000 (15:44 -0700)]
micropeak: Make statistics entries un-editable

Otherwise you can actually type in the various fields.x

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoalotsuilib: Remove old "mega" and "mini" file extensions from data chooser
Keith Packard [Sat, 14 Jun 2014 22:20:07 +0000 (15:20 -0700)]
alotsuilib: Remove old "mega" and "mini" file extensions from data chooser

We never shipped AltosUI which stored mega/mini files in different extensions

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosui/telegps: Switch to AltosUIIndicator and AltosUIFlightTab
Keith Packard [Sat, 14 Jun 2014 21:41:13 +0000 (14:41 -0700)]
altosui/telegps: Switch to AltosUIIndicator and AltosUIFlightTab

Removes replicated code across all flight tabs

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Add AltosUIFlightTab class
Keith Packard [Sat, 14 Jun 2014 21:40:24 +0000 (14:40 -0700)]
altosuilib: Add AltosUIFlightTab class

This covers most of the common functions for all flight status display tabs.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Add more options to AltosUIIndicator to suit AltosUI
Keith Packard [Sat, 14 Jun 2014 21:39:26 +0000 (14:39 -0700)]
altosuilib: Add more options to AltosUIIndicator to suit AltosUI

This makes AltosUIIndicator capable of displaying most stuff in AltosUI

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Make sure only one thread is closing serial device
Keith Packard [Sat, 14 Jun 2014 21:38:00 +0000 (14:38 -0700)]
altosuilib: Make sure only one thread is closing serial device

Multiple closers can cause a crash by freeing the libaltos device twice

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: provide getName() for AltosInfoTable
Keith Packard [Sat, 14 Jun 2014 21:37:35 +0000 (14:37 -0700)]
altosuilib: provide getName() for AltosInfoTable

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: In graph, show zero sats in view as 0 instead of MISSING
Keith Packard [Sat, 14 Jun 2014 21:36:49 +0000 (14:36 -0700)]
altosuilib: In graph, show zero sats in view as 0 instead of MISSING

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Require all flight display classes to provide a name
Keith Packard [Sat, 14 Jun 2014 21:36:11 +0000 (14:36 -0700)]
altosuilib: Require all flight display classes to provide a name

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltoslib: When GPS disappears, set range and elevation to MISSING
Keith Packard [Sat, 14 Jun 2014 21:34:59 +0000 (14:34 -0700)]
altoslib: When GPS disappears, set range and elevation to MISSING

Use MISSING instead of bogus values so that displayers can tell what
to do.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltoslib: Add units converters for latitude and longitude
Keith Packard [Sat, 14 Jun 2014 21:33:58 +0000 (14:33 -0700)]
altoslib: Add units converters for latitude and longitude

Makes display of these values consistent across all instances

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agodoc: TeleGPS docs are complete
Keith Packard [Sat, 14 Jun 2014 05:36:00 +0000 (22:36 -0700)]
doc: TeleGPS docs are complete

All TeleGPS features should now be documented to some degree

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Allow TeleGPS preferences to have a custom title and label
Keith Packard [Sat, 14 Jun 2014 05:04:57 +0000 (22:04 -0700)]
telegps: Allow TeleGPS preferences to have a custom title and label

Don't just inherit the AltosUI ones

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agodoc: Add a bunch more stuff to the telegps docs
Keith Packard [Sat, 14 Jun 2014 05:04:35 +0000 (22:04 -0700)]
doc: Add a bunch more stuff to the telegps docs

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Make map-cache per-window instead of global
Keith Packard [Sat, 14 Jun 2014 04:26:33 +0000 (21:26 -0700)]
altosuilib: Make map-cache per-window instead of global

This consumes more memory, but avoids cache conflicts between windows

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Shuffle menu entries around
Keith Packard [Sat, 14 Jun 2014 04:25:41 +0000 (21:25 -0700)]
telegps: Shuffle menu entries around

I think this makes them a bit more logical

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosdroid: Improve voice for TeleGPS
Keith Packard [Fri, 13 Jun 2014 22:54:08 +0000 (15:54 -0700)]
altosdroid: Improve voice for TeleGPS

This avoids making lots of useless voice announcements for TeleGPS

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosdroid: Don't crash when the map is touched
Keith Packard [Fri, 13 Jun 2014 22:53:30 +0000 (15:53 -0700)]
altosdroid: Don't crash when the map is touched

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>

2 months agotelegps: Add status tab
Keith Packard [Fri, 13 Jun 2014 22:23:30 +0000 (15:23 -0700)]
telegps: Add status tab

This includes pad-relative information, battery voltage and version information

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltoslib: Correctly save firmware version in AltosState
Keith Packard [Fri, 13 Jun 2014 22:22:25 +0000 (15:22 -0700)]
altoslib: Correctly save firmware version in AltosState

It wasn't getting cloned

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltoslib: Add conversion class for voltages
Keith Packard [Fri, 13 Jun 2014 22:21:28 +0000 (15:21 -0700)]
altoslib: Add conversion class for voltages

Provide a common presentation for voltage values

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Build some common classes for displaying values in flight window
Keith Packard [Fri, 13 Jun 2014 22:20:20 +0000 (15:20 -0700)]
altosuilib: Build some common classes for displaying values in flight window

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>

2 months agotelegps: Show flight number in monitor window
Keith Packard [Fri, 13 Jun 2014 07:28:38 +0000 (00:28 -0700)]
telegps: Show flight number in monitor window

This lets the user find the flight by number

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Disconnect telemetry device when closing monitor window
Keith Packard [Fri, 13 Jun 2014 07:28:09 +0000 (00:28 -0700)]
telegps: Disconnect telemetry device when closing monitor window

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltoslib: Remove telem monitoring when closing log file
Keith Packard [Fri, 13 Jun 2014 07:27:19 +0000 (00:27 -0700)]
altoslib: Remove telem monitoring when closing log file

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>

2 months agoaltoslib: Call state.set_serial first for telemetry parsing
Keith Packard [Fri, 13 Jun 2014 07:01:46 +0000 (00:01 -0700)]
altoslib: Call state.set_serial first for telemetry parsing

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>

2 months agoaltos/telegps: Create new flight if current flight is erased
Keith Packard [Fri, 13 Jun 2014 06:59:37 +0000 (23:59 -0700)]
altos/telegps: Create new flight if current flight is erased

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>

2 months agoaltos: Define ao_log_mutex in ao_log.c rather than every log product
Keith Packard [Fri, 13 Jun 2014 06:56:07 +0000 (23:56 -0700)]
altos: Define ao_log_mutex in ao_log.c rather than every log product

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltos/telegps: Keep ring of recent GPS positions to detect motion quickly
Keith Packard [Fri, 13 Jun 2014 04:54:13 +0000 (21:54 -0700)]
altos/telegps: Keep ring of recent GPS positions to detect motion quickly

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>

2 months agoaltos/telegps: Set default log to 496kB for 4 logs
Keith Packard [Fri, 13 Jun 2014 04:53:07 +0000 (21:53 -0700)]
altos/telegps: Set default log to 496kB for 4 logs

This leaves space for four flight logs.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltos: Show current flight number for TeleGPS
Keith Packard [Fri, 13 Jun 2014 04:52:13 +0000 (21:52 -0700)]
altos: Show current flight number for TeleGPS

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agodebian: Fix build depends icotool -> icoutils
Keith Packard [Thu, 12 Jun 2014 22:59:20 +0000 (15:59 -0700)]
debian: Fix build depends icotool -> icoutils

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltos/telegps: Don't log data when plugged in to USB
Keith Packard [Thu, 12 Jun 2014 21:34:02 +0000 (14:34 -0700)]
altos/telegps: Don't log data when plugged in to USB

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>

2 months agotelegps: Don't re-add frequency menu when already present.
Keith Packard [Thu, 12 Jun 2014 21:32:15 +0000 (14:32 -0700)]
telegps: Don't re-add frequency menu when already present.

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>

2 months agoaltosui/telegps: Reduce CPU time needed for flight displays
Keith Packard [Thu, 12 Jun 2014 21:12:08 +0000 (14:12 -0700)]
altosui/telegps: Reduce CPU time needed for flight displays

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>

2 months agodoc: Add TeleGPS screenshots
Keith Packard [Thu, 12 Jun 2014 06:28:55 +0000 (23:28 -0700)]
doc: Add TeleGPS screenshots

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agodoc: Update altusmetrum docs and screen shots for 1.4
Keith Packard [Thu, 12 Jun 2014 06:28:36 +0000 (23:28 -0700)]
doc: Update altusmetrum docs and screen shots for 1.4

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Remove 'Flight' from titles
Keith Packard [Thu, 12 Jun 2014 06:27:16 +0000 (23:27 -0700)]
telegps: Remove 'Flight' from titles

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltos/telegps: Build .ihx versions for TeleGPS
Keith Packard [Thu, 12 Jun 2014 06:26:36 +0000 (23:26 -0700)]
altos/telegps: Build .ihx versions for TeleGPS

Needed to load with java

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Repaint map when starting line draw
Keith Packard [Thu, 12 Jun 2014 06:04:46 +0000 (23:04 -0700)]
altosuilib: Repaint map when starting line draw

Starting line draw will remove any existing line, so repaint to get
rid of it

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltoslib: Report GPS height when baro height is not available
Keith Packard [Thu, 12 Jun 2014 06:04:11 +0000 (23:04 -0700)]
altoslib: Report GPS height when baro height is not available

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosui: Don't list tracker parameters when configuring altimeter
Keith Packard [Thu, 12 Jun 2014 04:37:23 +0000 (21:37 -0700)]
altosui: Don't list tracker parameters when configuring altimeter

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Handle font and units changes in maps and stats table
Keith Packard [Thu, 12 Jun 2014 03:36:49 +0000 (20:36 -0700)]
altosuilib: Handle font and units changes in maps and stats table

Add AltosFontListener and AltosUnitsListener bits as needed

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agodoc: Update 1.4 release notes to include a few more changes
Keith Packard [Thu, 12 Jun 2014 02:57:24 +0000 (19:57 -0700)]
doc: Update 1.4 release notes to include a few more changes

pyro firing time.
flight erase on TeleMega/TeleMetrum v2

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosui: Add pyro firing time configuration
Keith Packard [Thu, 12 Jun 2014 02:51:37 +0000 (19:51 -0700)]
altosui: Add pyro firing time configuration

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosdroid: Altosdroid build doesn't work in parallel, so stop trying
Keith Packard [Thu, 12 Jun 2014 01:58:09 +0000 (18:58 -0700)]
altosdroid: Altosdroid build doesn't work in parallel, so stop trying

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltos: Re-enable telemini v2.0 builds
Keith Packard [Thu, 12 Jun 2014 01:53:42 +0000 (18:53 -0700)]
altos: Re-enable telemini v2.0 builds

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltos/telemini-v2.0: Disable beep frequency config on TeleMini v2.0
Keith Packard [Thu, 12 Jun 2014 01:53:10 +0000 (18:53 -0700)]
altos/telemini-v2.0: Disable beep frequency config on TeleMini v2.0

Not enough flash otherwise.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Remove old widget-based map UI
Keith Packard [Thu, 12 Jun 2014 01:51:19 +0000 (18:51 -0700)]
altosuilib: Remove old widget-based map UI

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltos: Disable TeleMini v2.0 build for now
Keith Packard [Thu, 12 Jun 2014 01:50:07 +0000 (18:50 -0700)]
altos: Disable TeleMini v2.0 build for now

2 months agoaltoslib: Use GPS seconds as an additional sort key for TeleGPS eeprom
Keith Packard [Thu, 12 Jun 2014 01:48:11 +0000 (18:48 -0700)]
altoslib: Use GPS seconds as an additional sort key for TeleGPS eeprom

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>

2 months agoaltosuilib: Rewrite map GUI bits
Keith Packard [Thu, 12 Jun 2014 01:46:47 +0000 (18:46 -0700)]
altosuilib: Rewrite map GUI bits

Use a single large Canvas and draw images on top by hand.

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agotelegps: Add statistics tab to graph UI
Keith Packard [Tue, 10 Jun 2014 18:36:03 +0000 (11:36 -0700)]
telegps: Add statistics tab to graph UI

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Move AltosFlightStatsTable to altosuilib
Keith Packard [Tue, 10 Jun 2014 18:35:30 +0000 (11:35 -0700)]
altosuilib: Move AltosFlightStatsTable to altosuilib

So that TeleGPS can share it

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosuilib: Skip voice announcements for invalid values
Keith Packard [Tue, 10 Jun 2014 18:34:21 +0000 (11:34 -0700)]
altosuilib: Skip voice announcements for invalid values

When height and speed values aren't available, don't say anything

Signed-off-by: Keith Packard <keithp@keithp.com>

2 months agoaltosui: Show "Missing" instead of huge numbers in descent/landed tabs
Keith Packard [Tue, 10 Jun 2014 18:32:57 +0000 (11:32 -0700)]
altosui: Show "Missing" instead of huge numbers in descent/landed tabs

Signed-off-by: Keith Packard <keithp@keithp.com>