fw/altos
12 days agoaltoslib: Handle TeleGPS files for KML export master
Keith Packard [Thu, 17 Jul 2014 00:13:25 +0000 (17:13 -0700)]
altoslib: Handle TeleGPS files for KML export

TeleGPS files had state values that couldn't be converted to colors,
which resulted in a truncated file that wasn't much use for anything.

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

2 weeks agolinux-fat: Fix up fat linux install icons, mime types and .desktop files
Keith Packard [Tue, 15 Jul 2014 07:44:14 +0000 (00:44 -0700)]
linux-fat: Fix up fat linux install icons, mime types and .desktop files

use the standard xdg utilities to install mime type and .desktop
files. The standard xdg icon installer doesn't handle svg icons, so we
have to do those manually.

With this patch, xfce, gnome3 and kde4 all place the applications in
user-visible menus, display correct file icons and launch correct
applications for our file types.

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

2 weeks agoaltosuilib: Fix minor scan UI nits
Keith Packard [Mon, 14 Jul 2014 09:32:03 +0000 (02:32 -0700)]
altosuilib: Fix minor scan UI nits

Wasn't computing geometry correctly and overlapped the 2400 baud entry
with the list of scan results.

Was not saving the telemetry rate/telemetry style when switching to
monitor mode, which caused the new monitor to come up with the wrong values.

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

2 weeks agoSet version to 1.4.9.2 1.4.9.2
Keith Packard [Mon, 14 Jul 2014 07:46:41 +0000 (00:46 -0700)]
Set version to 1.4.9.2

2 weeks agoaltoslib: Parse eeprom 'altitude-32' fields
Keith Packard [Mon, 14 Jul 2014 07:45:13 +0000 (00:45 -0700)]
altoslib: Parse eeprom 'altitude-32' fields

This lets us tell if the altimeter supports 32-bit GPS altitudes in
the eeprom log.

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

2 weeks agoaltos/test: Build TeleMetrumV2 flight test variant
Keith Packard [Mon, 14 Jul 2014 03:44:39 +0000 (20:44 -0700)]
altos/test: Build TeleMetrumV2 flight test variant

Parses TeleMetrumV2 eeprom files and runs the TeleMetrumV2 flight code.

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

2 weeks agoaltos: Make ao_gps_print deal with telem containing 32-bit altitude values
Keith Packard [Mon, 14 Jul 2014 03:43:27 +0000 (20:43 -0700)]
altos: Make ao_gps_print deal with telem containing 32-bit altitude values

ao_gps_print is used with new telem packets from a few places; use
AO_TELEMETRY_LOCATION_ALTITUDE when necessary.

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

2 weeks agoaltos: Interrupt radio receive when changing data rate
Keith Packard [Mon, 14 Jul 2014 03:42:41 +0000 (20:42 -0700)]
altos: Interrupt radio receive when changing data rate

This aborts any pending radio receive when changing the data rate so
that the radio can be reprogrammed to receive at the correct rate.

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

2 weeks agoao-tools: Add a few GPS telem/eeprom constants
Keith Packard [Mon, 14 Jul 2014 03:41:36 +0000 (20:41 -0700)]
ao-tools: Add a few GPS telem/eeprom constants

These make it possible to encode/decode GPS data from telemetry and
eeprom files

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

2 weeks agoao-tools: Provide altitude to temperature conversion function
Keith Packard [Mon, 14 Jul 2014 03:40:40 +0000 (20:40 -0700)]
ao-tools: Provide altitude to temperature conversion function

This takes altitude and computes the 'normal' temperature for
that.

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

2 weeks agoao-tools: Add TMv2 and Tgps log formats to cc.h
Keith Packard [Sun, 13 Jul 2014 18:06:29 +0000 (11:06 -0700)]
ao-tools: Add TMv2 and Tgps log formats to cc.h

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

2 weeks agoaltos/telefire,telelco: Add HAS_RADIO_RATE to launch system software
Keith Packard [Sun, 13 Jul 2014 06:52:05 +0000 (23:52 -0700)]
altos/telefire,telelco: Add HAS_RADIO_RATE to launch system software

This lets us set the rate to a lower value to improve range. 9600 baud
works great; 2400 baud makes the initial search take a long time.

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

2 weeks agotelegps: Missing function in TeleGPSConfigUI
Keith Packard [Fri, 11 Jul 2014 04:27:30 +0000 (21:27 -0700)]
telegps: Missing function in TeleGPSConfigUI

set_altitude_32 was added to the abstract class but not here.

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

2 weeks agolibaltos: typo in libaltos broke the build
Keith Packard [Fri, 11 Jul 2014 04:13:49 +0000 (21:13 -0700)]
libaltos: typo in libaltos broke the build

When converting this to use dlopen, I mis-typed the name hci_read_remote_name

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

2 weeks agoaltosui: Don't show bluetooth UI bits on mac/windows
Keith Packard [Fri, 11 Jul 2014 01:43:31 +0000 (18:43 -0700)]
altosui: Don't show bluetooth UI bits on mac/windows

This just confuses people into thinking that bluetooth is supported on
those machines.

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

2 weeks agolibaltos: Bind to libbluetooth at runtime on demand
Keith Packard [Fri, 11 Jul 2014 01:42:37 +0000 (18:42 -0700)]
libaltos: Bind to libbluetooth at runtime on demand

This lets us reliably start and run without libbluetooth present.

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

2 weeks agoaltoslib: Extend telemetry heights from 16 to 32 bits
Keith Packard [Fri, 11 Jul 2014 00:27:43 +0000 (17:27 -0700)]
altoslib: Extend telemetry heights from 16 to 32 bits

Uses the GPS data and/or previous kalman data to compute the upper 16
bits of the truncated telemetry altitude value.

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

2 weeks agoaltosui: Fix the 'Graph' button on the landed tab
Keith Packard [Fri, 11 Jul 2014 00:26:19 +0000 (17:26 -0700)]
altosui: Fix the 'Graph' button on the landed tab

It hasn't been getting enabled since the state tabs were rewritten.

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

2 weeks agoaltos: Use 32-bits for flight state data (alt/speed/accel)
Keith Packard [Fri, 11 Jul 2014 00:18:38 +0000 (17:18 -0700)]
altos: Use 32-bits for flight state data (alt/speed/accel)

Stores 32-bits for all of the flight parameters. Uses 64-bit
intermediates for kalman computation.

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

2 weeks agoaltos: Record pdop value in TeleMetrumV2 log
Keith Packard [Fri, 11 Jul 2014 00:15:09 +0000 (17:15 -0700)]
altos: Record pdop value in TeleMetrumV2 log

There's only one byte free, so we'll record the pdop value

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

2 weeks agoaltos: Scale DOP values by 10 in GPS drivers
Keith Packard [Fri, 11 Jul 2014 00:13:09 +0000 (17:13 -0700)]
altos: Scale DOP values by 10 in GPS drivers

sky traq was scaling by 5, ublox was scaling by 100.

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

2 weeks agoaltoslib: Handle wide GPS altitude values in eeprom and telemetry
Keith Packard [Fri, 11 Jul 2014 00:10:49 +0000 (17:10 -0700)]
altoslib: Handle wide GPS altitude values in eeprom and telemetry

Detect when the wider data is present and handle it correctly

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

2 weeks agoaltos: Extend GPS altitudes to at least 24 bits everywhere
Keith Packard [Fri, 11 Jul 2014 00:07:48 +0000 (17:07 -0700)]
altos: Extend GPS altitudes to at least 24 bits everywhere

Telemetry gets a special 'mode' flag indicating that 24-bit data is
present; log files get new data and log readers are expected to detect
that via the firmware version number.

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

2 weeks agoaltosuilib: Allow for unitless axes in graphs
Keith Packard [Thu, 10 Jul 2014 23:19:52 +0000 (16:19 -0700)]
altosuilib: Allow for unitless axes in graphs

DOP values have no units.

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

2 weeks agoaltosuilib: Add GPS DOP values to info table
Keith Packard [Thu, 10 Jul 2014 23:19:34 +0000 (16:19 -0700)]
altosuilib: Add GPS DOP values to info table

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

2 weeks agoaltosuilib: Add GPS DOP values to graph
Keith Packard [Thu, 10 Jul 2014 23:19:17 +0000 (16:19 -0700)]
altosuilib: Add GPS DOP values to graph

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

2 weeks agoaltoslib: Ensure CSV output is consistent
Keith Packard [Thu, 10 Jul 2014 23:17:56 +0000 (16:17 -0700)]
altoslib: Ensure CSV output is consistent

Scan entire flight to figure out which columns to include before
outputing header or data. Limit data output to values which are valid.

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

2 weeks agoaltoslib: Clean up GPS DOP support in AltosState
Keith Packard [Thu, 10 Jul 2014 23:15:52 +0000 (16:15 -0700)]
altoslib: Clean up GPS DOP support in AltosState

Parse out hdop/pdop/vdop from telem and eeprom. Deal with legacy
eeprom files that have dop/100 instead of dop/10 values.

Clear state DOP values to MISSING at startup

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

2 weeks agomicropeak/altosui/telegps: Fix icon file names
Keith Packard [Thu, 10 Jul 2014 07:26:55 +0000 (00:26 -0700)]
micropeak/altosui/telegps: Fix icon file names

The icon file names are now structured to have an organization name
and application name component. This should avoid collisions with
other packages when the icon files are installed in a shared
directory, as on Linux. Within the Java .jar file, the new names need
to be correctly referenced or we won't find them.

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

2 weeks agoaltos/telemini-v2.0: Enable beep config and radio rate config
Keith Packard [Wed, 9 Jul 2014 06:47:09 +0000 (23:47 -0700)]
altos/telemini-v2.0: Enable beep config and radio rate config

use the smaller pa to altitude table to make room for the new code

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

2 weeks agoaltos: Add smaller pa to altitude table for TeleMini
Keith Packard [Wed, 9 Jul 2014 06:46:24 +0000 (23:46 -0700)]
altos: Add smaller pa to altitude table for TeleMini

TeleMini doesn't have space for the larger table, and the smaller one
isn't that much less accurate at lower altitudes.

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

2 weeks agoaltos/telemini-v2.0: Add memory decorations to new telemetry variables
Keith Packard [Wed, 9 Jul 2014 06:45:10 +0000 (23:45 -0700)]
altos/telemini-v2.0: Add memory decorations to new telemetry variables

This lets TeleMini-v2.0 compile.

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

2 weeks agoaltosui: Hide inactive altimeter configuration entries
Keith Packard [Wed, 9 Jul 2014 06:43:31 +0000 (23:43 -0700)]
altosui: Hide inactive altimeter configuration entries

Instead of disabling them, just hide them so that entries that do not
apply to a particular device won't get shown at all.

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

3 weeks agoBump version to 1.4.9.1 -- on the way to 1.5 1.4.9.1
Keith Packard [Mon, 7 Jul 2014 03:10:21 +0000 (20:10 -0700)]
Bump version to 1.4.9.1 -- on the way to 1.5

3 weeks agoAdd support for the "kite" micropeak variant
Keith Packard [Sun, 6 Jul 2014 19:35:13 +0000 (12:35 -0700)]
Add support for the "kite" micropeak variant

This uses a 100m 'launch detect' altitude and logs data every 19.2s
instead of every .192s.

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

3 weeks agotelegps: Support variable telemetry rate
Keith Packard [Sat, 5 Jul 2014 07:16:57 +0000 (00:16 -0700)]
telegps: Support variable telemetry rate

Add combo box to monitoring window and device configuration.

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

3 weeks agoaltosui: Support telemetry data rates
Keith Packard [Sat, 5 Jul 2014 06:41:16 +0000 (23:41 -0700)]
altosui: Support telemetry data rates

Add combo box to flight UI and flight hardware configuration UIs
Add telemetry rate to the TD/TBT config dialog

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

3 weeks agoaltosuilib: Add telemetry rate to Scan UI
Keith Packard [Sat, 5 Jul 2014 06:57:42 +0000 (23:57 -0700)]
altosuilib: Add telemetry rate to Scan UI

Let the user scan for multiple data rates as well as telemetry formats
and frequencies

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

3 weeks agoaltoslib: Support multiple telemetry rates
Keith Packard [Thu, 3 Jul 2014 05:48:13 +0000 (22:48 -0700)]
altoslib: Support multiple telemetry rates

Altos now supports 2400 and 9600 baud in addition to the classic 38400
baud rate. Add support to altoslib for these as well

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

3 weeks agoaltos: Rework packet receive for cc1120
Keith Packard [Sat, 5 Jul 2014 07:04:06 +0000 (00:04 -0700)]
altos: Rework packet receive for cc1120

Instead of blocking on PQT, just set up the receiver to start going
and when the first bit interrupt comes in, grab the SPI bus if
possible and configure it for reception. This improves sensitivity in
the radio by a significant amount while making the code conceptually a
bit nicer.

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

3 weeks agoaltos: Add telemetry rate support to CC1120 driver
Keith Packard [Thu, 3 Jul 2014 05:34:48 +0000 (22:34 -0700)]
altos: Add telemetry rate support to CC1120 driver

This supports the new 2400 and 9600 baud rates

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

3 weeks agoaltos: Packet reception tuning for cc1120 driver
Keith Packard [Sat, 5 Jul 2014 06:42:30 +0000 (23:42 -0700)]
altos: Packet reception tuning for cc1120 driver

This adjusts the cc1120 receive parameters to increase sensitivity at
the expense of reporting many more invalid packets to the UI.

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

3 weeks agoaltos: Add 2400 and 9600 baud telemetry support to cc115l driver
Keith Packard [Thu, 3 Jul 2014 05:41:20 +0000 (22:41 -0700)]
altos: Add 2400 and 9600 baud telemetry support to cc115l driver

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

3 weeks agoaltos/cc1111: Add 2400 and 9600 baud telemetry rate support
Keith Packard [Thu, 3 Jul 2014 05:31:59 +0000 (22:31 -0700)]
altos/cc1111: Add 2400 and 9600 baud telemetry rate support

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

3 weeks agoaltos/cc1111: Adjust receive parameters to improve sensitivity
Keith Packard [Thu, 3 Jul 2014 05:30:23 +0000 (22:30 -0700)]
altos/cc1111: Adjust receive parameters to improve sensitivity

This removes the packet quality test and carrier sense tests when
deciding whether to start decoding a packet. This lets more bad
packets through, but the CRC check catches those and now we're
regularly receiving packets down to -110 or even -112 dBm. Before this
change, we'd rarely see packets as low as -105dBm

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

3 weeks agoaltos: Call ao_telemetry_reset_interval when telemetry rate changes
Keith Packard [Sat, 5 Jul 2014 07:09:25 +0000 (00:09 -0700)]
altos: Call ao_telemetry_reset_interval when telemetry rate changes

This lets the radio code adjust the telemetry packet sending pattern
when the data rate changes.

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

3 weeks agoaltos: Add config support for 2400 and 9600 baud telemetry rates
Keith Packard [Thu, 3 Jul 2014 05:44:07 +0000 (22:44 -0700)]
altos: Add config support for 2400 and 9600 baud telemetry rates

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

3 weeks agoaltos: Add defines for 2400 and 9600 baud telemetry rates
Keith Packard [Thu, 3 Jul 2014 05:42:10 +0000 (22:42 -0700)]
altos: Add defines for 2400 and 9600 baud telemetry rates

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

3 weeks agoaltos: Reduce configuration data telemetry to once per 5 seconds
Keith Packard [Sat, 5 Jul 2014 06:26:57 +0000 (23:26 -0700)]
altos: Reduce configuration data telemetry to once per 5 seconds

This data is constant, so we don't need to send it very often. Once
every five seconds should be plenty.

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

3 weeks agoaltos: Use TeleMetrum v1.9 board for MegaDongle experiments
Keith Packard [Thu, 3 Jul 2014 05:46:07 +0000 (22:46 -0700)]
altos: Use TeleMetrum v1.9 board for MegaDongle experiments

This configures the MegaDongle v0.1 directory to use the pin
assignments in TeleMetrum v1.9 boards.

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

3 weeks agoaltos: Stop sticking cc1111 firmware in src directory
Keith Packard [Thu, 3 Jul 2014 05:45:01 +0000 (22:45 -0700)]
altos: Stop sticking cc1111 firmware in src directory

This just clutters src.

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

3 weeks agoaltos: ao_rssi subsystem needs to use AO_LED_TYPE instead of uint8_t
Keith Packard [Thu, 3 Jul 2014 05:42:43 +0000 (22:42 -0700)]
altos: ao_rssi subsystem needs to use AO_LED_TYPE instead of uint8_t

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

3 weeks agoaltosuilib: Remove debug printfs from map cache
Keith Packard [Sat, 5 Jul 2014 06:22:20 +0000 (23:22 -0700)]
altosuilib: Remove debug printfs from map cache

Just annoying

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

3 weeks agoaltoslib: Preserve receiver_serial across state reset for new transmitter
Keith Packard [Sat, 5 Jul 2014 06:20:51 +0000 (23:20 -0700)]
altoslib: Preserve receiver_serial across state reset for new transmitter

When the transmitter serial or flight number changes, we re-init the
state information, but we want to preserve the receiver serial number
so that the log file has that in the name

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

3 weeks agoaltoslib: Disable telemetry while getting config data
Keith Packard [Wed, 25 Jun 2014 20:50:54 +0000 (13:50 -0700)]
altoslib: Disable telemetry while getting config data

We're seeing some log files created without a suitable -via- number
included. My hypothesis is that incoming telemetry is getting
interleaved with the configuration data containing the serial
number. This change simply disables telemetry while retrieving the
configuration data to try and keep that from happening.

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

3 weeks agoaltosui/telegps: Undo the frequency/telemetry menu changes
Keith Packard [Sat, 5 Jul 2014 06:38:53 +0000 (23:38 -0700)]
altosui/telegps: Undo the frequency/telemetry menu changes

Using menus for these items isn't what we want; we want to show the
current value on the screen, which is what a combo box is for. Switch
back to those and remove the frequency and telemetry config from the
TeleGPS menu bar so that Mac OS X is happy.

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

4 weeks agonote need to push the updated repo with production binaries during release
Bdale Garbee [Wed, 25 Jun 2014 19:37:56 +0000 (13:37 -0600)]
note need to push the updated repo with production binaries during release

4 weeks agoWindows sucks, hard .. make sure filenames are legal in .mdwn files
Bdale Garbee [Wed, 25 Jun 2014 04:43:04 +0000 (22:43 -0600)]
Windows sucks, hard .. make sure filenames are legal in .mdwn files

4 weeks agoupdate Releasing file based on learnings from 1.4.1 release
Bdale Garbee [Wed, 25 Jun 2014 04:35:43 +0000 (22:35 -0600)]
update Releasing file based on learnings from 1.4.1 release

4 weeks agotelegps: Disable tracker config when not available
Keith Packard [Wed, 25 Jun 2014 03:57:29 +0000 (20:57 -0700)]
telegps: Disable tracker config when not available

Tracker motion and interval were both left enabled even when the
device being configured didn't support them. Disable them like other
elements.

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

4 weeks agoaltosui: Don't show the tracker motion value when switching units
Keith Packard [Wed, 25 Jun 2014 03:52:34 +0000 (20:52 -0700)]
altosui: Don't show the tracker motion value when switching units

The tracker value was left enabled when hidden; the logic for deciding
whether to update it with new information used only the enabled state,
not the visible state. Set both states when hiding it to keep things
more consistent

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

4 weeks 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>

4 weeks 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>

4 weeks agoClean all .desktop files, ignore them too
Keith Packard [Wed, 25 Jun 2014 03:31:50 +0000 (20:31 -0700)]
Clean all .desktop files, ignore them too

All .desktop files are built from .desktop.in files, so just remove
all of them in make clean, and ignore all of them in .gitignore.
This makes the rename less painful.

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

4 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

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

4 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>

4 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

4 weeks agoicon: Generate altusmetrum.xpm and install it
Keith Packard [Wed, 25 Jun 2014 01:26:04 +0000 (18:26 -0700)]
icon: Generate altusmetrum.xpm and install it

This is for the debian menu, still a required part of a debian package.

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

4 weeks agoaltosuilib: Outline map lines and distance value with white
Keith Packard [Wed, 25 Jun 2014 01:25:31 +0000 (18:25 -0700)]
altosuilib: Outline map lines and distance value with white

This makes the value and line visible on dark backgrounds

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

4 weeks agoaltosuilib: Make map cache size configurable
Keith Packard [Wed, 25 Jun 2014 01:24:02 +0000 (18:24 -0700)]
altosuilib: Make map cache size configurable

Systems with sufficient memory can get smoother map scrolling by
making the cache larger. Would be nice to do this automatically?

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

4 weeks agoBump version to 1.4.1.1
Keith Packard [Tue, 24 Jun 2014 22:58:35 +0000 (15:58 -0700)]
Bump version to 1.4.1.1

4 weeks agoaltos/ao_flight_test: Get the Tmega version compiling again
Keith Packard [Tue, 24 Jun 2014 22:57:13 +0000 (15:57 -0700)]
altos/ao_flight_test: Get the Tmega version compiling again

A few changes broke this recently.

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

4 weeks agoaltos: Add optional debugging to print out pyro firing status
Keith Packard [Tue, 24 Jun 2014 22:56:11 +0000 (15:56 -0700)]
altos: Add optional debugging to print out pyro firing status

This dumps pyro check failures for ao_flight_test so you can see why
pyro charges aren't firing.

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

5 weeks agoao-bringup: Use the C tools to test EasyMini
Keith Packard [Mon, 23 Jun 2014 04:13:54 +0000 (21:13 -0700)]
ao-bringup: Use the C tools to test EasyMini

I think my USB driver in the kernel is broken; the nickle versions of
these  tools did very strange things and never worked.

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

5 weeks agoao-tools: Add ao-test-baro, ao-test-igniter and ao-test-flash
Keith Packard [Mon, 23 Jun 2014 04:12:37 +0000 (21:12 -0700)]
ao-tools: Add ao-test-baro, ao-test-igniter and ao-test-flash

C versions of the test programs used to validate hardware prior to ship

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

5 weeks agoaltosui/telegps: Expose configurable APRS SSID
Keith Packard [Mon, 23 Jun 2014 04:06:24 +0000 (21:06 -0700)]
altosui/telegps: Expose configurable APRS SSID

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

5 weeks agoaltos: Make APRS SSID configurable
Keith Packard [Mon, 23 Jun 2014 04:05:05 +0000 (21:05 -0700)]
altos: Make APRS SSID configurable

This uses the low-digit from the serial number by default, but lets
the user change it if desired.

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

5 weeks agoaltosui: Add Ignitor tab to Monitor Idle mode
Keith Packard [Sun, 22 Jun 2014 01:27:42 +0000 (18:27 -0700)]
altosui: Add Ignitor tab to Monitor Idle mode

Oops; missed adding this when I included it in the Monitor Flight window.

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

5 weeks agoaltos/aprs: Encode last serial number in SSID. Transmit serial in comment
Keith Packard [Fri, 20 Jun 2014 07:41:17 +0000 (00:41 -0700)]
altos/aprs: Encode last serial number in SSID. Transmit serial in comment

This makes it a lot easier to tell which device is sending
information, and to receive data from multiple devices on the same
receiver.

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

5 weeks agoaltosuilib: Wrap radio frequency menu in JMenuBar when used in config
Keith Packard [Fri, 20 Jun 2014 07:40:10 +0000 (00:40 -0700)]
altosuilib: Wrap radio frequency menu in JMenuBar when used in config

The device config dialogs place the radio frequency menu inside a
dialog box; it needs to be inside a MenuBar to work properly, so
create one to hold it.

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

5 weeks agoRename icon files to fit XDG specifications. Add file icons. Add mime types
Keith Packard [Thu, 19 Jun 2014 21:33:27 +0000 (14:33 -0700)]
Rename icon files to fit XDG specifications. Add file icons. Add mime types

Our SVG icons now follow XDG standards by including a vendor
prefix. The new file type icons include application-vnd.altusmetrum as
a prefix so that they match the mime types declared.

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

5 weeks agolinux: .desktop files must begin with organization name
Keith Packard [Thu, 19 Jun 2014 17:25:07 +0000 (10:25 -0700)]
linux: .desktop files must begin with organization name

The spec requires that .desktop files start with the organization
name, so I've renamed all of them to altusmetrum-<application>.desktop

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

5 weeks agowindows: Missed adding 'refresh-sh.nsh'
Keith Packard [Thu, 19 Jun 2014 03:35:12 +0000 (20:35 -0700)]
windows: Missed adding 'refresh-sh.nsh'

This script forces windows explorer to reload icons.

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

5 weeks agomacosx: Respond to apple messages in all apps
Keith Packard [Wed, 18 Jun 2014 23:18:05 +0000 (16:18 -0700)]
macosx: Respond to apple messages in all apps

This connects the callbacks in AltosUIFrame to actually do something
useful with them.

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

5 weeks agoaltosuilib: Hook up apple messages to callbacks
Keith Packard [Wed, 18 Jun 2014 23:14:44 +0000 (16:14 -0700)]
altosuilib: Hook up apple messages to callbacks

This supports open, quit and preferences. I'm leaving 'about' to the
existing stuff until I decide it's worth the effort to create a fancy
about dialog.

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

5 weeks 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>

5 weeks agomacosx: Define icons for our file types on OS X
Keith Packard [Wed, 18 Jun 2014 21:15:27 +0000 (14:15 -0700)]
macosx: Define icons for our file types on OS X

Adds definitions to the Info.plist files shipped to specify which
icons to show for .telem, .eeprom and .mpd files. Note that the
applications don't respond to open apple events, so double clicking on
a file only starts the application.

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

5 weeks agowindows installer: Create file associations for Windows.
Keith Packard [Wed, 18 Jun 2014 09:16:51 +0000 (02:16 -0700)]
windows installer: Create file associations for Windows.

This makes icons appear for the files in the file manager, and lets
you double-click on the files to open the appropriate application.

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

5 weeks agoicon: Construct .exe files to hold windows icons for file associations
Keith Packard [Wed, 18 Jun 2014 09:15:04 +0000 (02:15 -0700)]
icon: Construct .exe files to hold windows icons for file associations

It appears that creating an executable with an icon resource is the
only way to display icons for files. Fortunately, that's not all that
hard.

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

5 weeks 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>

6 weeks 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>

6 weeks agoaltos/micropeak: Add load script template
Keith Packard [Tue, 17 Jun 2014 06:03:49 +0000 (23:03 -0700)]
altos/micropeak: Add load script template

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

6 weeks agojava: Bump java library versions for next release
Keith Packard [Tue, 17 Jun 2014 05:49:34 +0000 (22:49 -0700)]
java: Bump java library versions for next release

Prepare for future release by bumping java versions now

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

6 weeks agoaltosui: Fix ground station configure frequency list
Keith Packard [Tue, 17 Jun 2014 05:48:25 +0000 (22:48 -0700)]
altosui: Fix ground station configure frequency list

Fix the API to match the switch to a menu, wrap in a menu bar to make
it work.

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

6 weeks agoaltosuilib: Move menu bars into the Mac OS X top bar
Keith Packard [Tue, 17 Jun 2014 04:58:13 +0000 (21:58 -0700)]
altosuilib: Move menu bars into the Mac OS X top bar

Setting these properties causes the top menu bar to get placed into
the Mac OS X window system menu bar

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

6 weeks agoaltosui/telegps: Use menus for frequency list and telemetry formats
Keith Packard [Tue, 17 Jun 2014 04:57:35 +0000 (21:57 -0700)]
altosui/telegps: Use menus for frequency list and telemetry formats

This will let us move them into the Mac OS X menu bar, as well as
making them look a bit nicer.

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

6 weeks agoaltos/micropeak: Create a script to load firmware.
Keith Packard [Mon, 16 Jun 2014 22:59:09 +0000 (15:59 -0700)]
altos/micropeak: Create a script to load firmware.

The micropeak-load script flashes micropeak with firmware from
whatever directory it is sitting in. A 'publish' target in the source
directory copies the script and hex to ~/altusmetrumllc/Binaries

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

6 weeks agodoc: Add instructions for flash recovery technique
Keith Packard [Mon, 16 Jun 2014 18:02:49 +0000 (11:02 -0700)]
doc: Add instructions for flash recovery technique

The flash recovery section explained which pins to connect, but lacked
explicit instructions on how to make it work.

6 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