fw/altos
9 years agoaltosui: Add elevation and range data to main display
Keith Packard [Sun, 5 Sep 2010 08:03:18 +0000 (01:03 -0700)]
altosui: Add elevation and range data to main display

Reported by voice, it's useful to see these on the display as well.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Eeprom files contain only one date; save it.
Keith Packard [Sun, 5 Sep 2010 08:01:10 +0000 (01:01 -0700)]
altosui: Eeprom files contain only one date; save it.

While reading eeprom files, the GPS record is reconstructed each time
the system sees the first GPS log item (the time field), but as the
date isn't repeated, we need to copy it from the old GPS data record.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Remove debugging printf from AltosEepromReader
Keith Packard [Sun, 5 Sep 2010 07:59:54 +0000 (00:59 -0700)]
altosui: Remove debugging printf from AltosEepromReader

These were in place while validing the GPS data reconstruction code
that handles eeprom files missing the first GPS date line due to the
record overwriting bug in old firmware versions.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Return AO_LOG_INVALID instead of exception for eeprom files
Keith Packard [Sun, 5 Sep 2010 07:57:38 +0000 (00:57 -0700)]
altosui: Return AO_LOG_INVALID instead of exception for eeprom files

When an eeprom file contains an invalid line, just return
AO_LOG_INVALID instead of throwing an exception. This allows us to
replay and parse files with extraneous serial communication.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Fix linux fat distribution
Keith Packard [Sun, 5 Sep 2010 01:49:22 +0000 (18:49 -0700)]
altosui: Fix linux fat distribution

Again, use 'cp -p' instead of 'cp -a' to get files into the archive
instead of links. Also, make the shell script 'altosui' instead of
'altosui-fat'.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Fix up Mac OSX .zip file
Keith Packard [Sun, 5 Sep 2010 01:39:58 +0000 (18:39 -0700)]
altosui: Fix up Mac OSX .zip file

Must contain 'altosui.jar' instead of altosui-fat.jar.
Also, was using 'cp -a' instead of 'cp -p' which made files
represented by symlinks not end up in the archive.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Fix windows installer to ship correct files
Keith Packard [Sun, 5 Sep 2010 01:20:45 +0000 (18:20 -0700)]
altosui: Fix windows installer to ship correct files

Was shipping altosui.jar instead of altosui-fat.jar

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd top-level 'fat' target to aid building distribution files
Keith Packard [Sun, 5 Sep 2010 01:04:04 +0000 (18:04 -0700)]
Add top-level 'fat' target to aid building distribution files

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd version numbers to released files. Set version to 0.7.1
Keith Packard [Sun, 5 Sep 2010 00:59:11 +0000 (17:59 -0700)]
Add version numbers to released files. Set version to 0.7.1

Instead of using git revision counts for version numbers, use explicit
versions numbers configured in the configure.ac file. Expose published
files with version numbers.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoIgnore libtool files.
Keith Packard [Sun, 5 Sep 2010 00:58:52 +0000 (17:58 -0700)]
Ignore libtool files.

9 years agoaltos: add some SDCDB config files
Keith Packard [Sun, 5 Sep 2010 00:35:17 +0000 (17:35 -0700)]
altos: add some SDCDB config files

9 years agoUse autotools for altosui and libaltos
Keith Packard [Sun, 5 Sep 2010 00:27:17 +0000 (17:27 -0700)]
Use autotools for altosui and libaltos

This switches from hand-written Makefiles to automake with libtool
for these parts of the system.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Add icons to application and Windows menus.
Keith Packard [Sat, 4 Sep 2010 08:13:42 +0000 (01:13 -0700)]
altosui: Add icons to application and Windows menus.

Use the altus-metrum icon for an application icon and a windows start
menu/desktop icon.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoicon: add some icons for application programs
Keith Packard [Sat, 4 Sep 2010 08:08:34 +0000 (01:08 -0700)]
icon: add some icons for application programs

altus-metrum.ico: Windows ICO file
altus-metrum-16x16.jpg: 16x16 jpg image for java

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: oops. renamed the nsis file to altos-windows.nsi
Keith Packard [Sat, 4 Sep 2010 07:16:41 +0000 (00:16 -0700)]
altosui: oops. renamed the nsis file to altos-windows.nsi

And forgot to change the dependency in the Makefile

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: ignore built files
Keith Packard [Sat, 4 Sep 2010 07:14:15 +0000 (00:14 -0700)]
altosui: ignore built files

9 years agoaltosui: Add windows installer build using 'nsis'
Keith Packard [Sat, 4 Sep 2010 07:13:11 +0000 (00:13 -0700)]
altosui: Add windows installer build using 'nsis'

nsis happens to be packaged in debian, and it appears to build usable
installers, which is all very cool.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.7+53+g59798c6
Bdale Garbee [Sat, 4 Sep 2010 04:46:29 +0000 (00:46 -0400)]
update changelogs for Debian build

9 years agoaltosui: Catch I/O errors on telemetry device, report to user
Keith Packard [Fri, 3 Sep 2010 19:43:45 +0000 (12:43 -0700)]
altosui: Catch I/O errors on telemetry device, report to user

This catches the USB device being unplugged and makes sure the
user sees an error dialog in this case.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Must flush serial line after configuring for telemetry
Keith Packard [Fri, 3 Sep 2010 19:31:05 +0000 (12:31 -0700)]
altosui: Must flush serial line after configuring for telemetry

Without flushing the configuration commands to the serial device, it
never sees them as the telemetry input thread doesn't flush.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRevert "altosui: Deal with altos bug setting radio channel while monitoring"
Keith Packard [Fri, 3 Sep 2010 18:48:55 +0000 (11:48 -0700)]
Revert "altosui: Deal with altos bug setting radio channel while monitoring"

This reverts commit ba65e4aeb952a1cf49a77f1e24e235508fcea71f.

Testing the old code

9 years agoaltosui: Allow 'connect to device' when already connected
Keith Packard [Fri, 3 Sep 2010 08:30:33 +0000 (01:30 -0700)]
altosui: Allow 'connect to device' when already connected

Opening another serial device involves shutting down the display
thread (to reset its state) and spawning another one. Shutting down
the display thread normally closes the serial device as a part of the
process, and if this isn't done before the new serial device is
opened, then the new serial device ends up getting closed too.

Interrupting the display thread and waiting for it to stop before
opening the new serial device solves the problem.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Deal with altos bug setting radio channel while monitoring
Keith Packard [Fri, 3 Sep 2010 08:21:57 +0000 (01:21 -0700)]
altosui: Deal with altos bug setting radio channel while monitoring

If the monitoring thread is active, then setting the radio channel can
sometimes cause the monitoring thread to get stuck. I'm not entirely
sure why though. For now, work around the issue by making sure
monitoring is off, and the monitoring thread has stopped, before
changing the radio channel.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Report telemetry CRC errors in UI
Keith Packard [Fri, 3 Sep 2010 08:12:24 +0000 (01:12 -0700)]
altosui: Report telemetry CRC errors in UI

Telemetry CRC errors can signal problems with TeleMetrum or TeleDongle
units, so report them in the UI.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: build Mac OS .zip file to include paths
Keith Packard [Fri, 3 Sep 2010 04:11:29 +0000 (21:11 -0700)]
altosui: build Mac OS .zip file to include paths

Without the paths, the OS X zip file doesn't create a usable
application structure.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Post error dialog on invalid ROM config values.
Keith Packard [Thu, 2 Sep 2010 05:56:34 +0000 (22:56 -0700)]
altosui: Post error dialog on invalid ROM config values.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Remove some debug printfs from AltosRomconfig class
Keith Packard [Thu, 2 Sep 2010 05:56:12 +0000 (22:56 -0700)]
altosui: Remove some debug printfs from AltosRomconfig class

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Hide internal rom config UI helper function
Keith Packard [Thu, 2 Sep 2010 05:47:15 +0000 (22:47 -0700)]
altosui: Hide internal rom config UI helper function

This was getting mis-used by the flash UI causing the rom dialog
'cancel' button to work just like 'ok'.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: allow flashing to be canceled from the rom config dialog
Keith Packard [Thu, 2 Sep 2010 05:46:04 +0000 (22:46 -0700)]
altosui: allow flashing to be canceled from the rom config dialog

Was using the rom config class wrong, causing cancel actions to work
just like 'ok' actions. Oops.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Abort flashing if debug port isn't working
Keith Packard [Thu, 2 Sep 2010 05:43:22 +0000 (22:43 -0700)]
altosui: Abort flashing if debug port isn't working

Check each command going over the debug port and make sure it works as
expected. This commit adds checks for initializing the clock,
selecting the desired program counter and running the flash
program.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.7+40+g59a40f6
Bdale Garbee [Thu, 2 Sep 2010 04:55:41 +0000 (00:55 -0400)]
update changelogs for Debian build

9 years agoanother distclean fix
Bdale Garbee [Thu, 2 Sep 2010 04:55:01 +0000 (00:55 -0400)]
another distclean fix

9 years agoand a few more distclean fixes
Bdale Garbee [Thu, 2 Sep 2010 04:53:16 +0000 (00:53 -0400)]
and a few more distclean fixes

9 years agomore makefile distclean target work
Bdale Garbee [Thu, 2 Sep 2010 04:52:04 +0000 (00:52 -0400)]
more makefile distclean target work

9 years agoupdate changelogs for Debian build debian/0.7+36+g14fa24e
Bdale Garbee [Thu, 2 Sep 2010 04:50:16 +0000 (00:50 -0400)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.7+35+g83552df
Bdale Garbee [Thu, 2 Sep 2010 04:48:31 +0000 (00:48 -0400)]
update changelogs for Debian build

9 years agoadd distclean targets to libaltos and altosui to all Debian package to build
Bdale Garbee [Thu, 2 Sep 2010 04:47:54 +0000 (00:47 -0400)]
add distclean targets to libaltos and altosui to all Debian package to build

9 years agoupdate changelogs for Debian build debian/0.7+33+gd079bfe
Bdale Garbee [Thu, 2 Sep 2010 04:46:21 +0000 (00:46 -0400)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.7+32+ga470315
Bdale Garbee [Thu, 2 Sep 2010 04:44:30 +0000 (00:44 -0400)]
update changelogs for Debian build

9 years agoaltosui: Remove Manifest.txt from git repo as it's built now
Keith Packard [Thu, 2 Sep 2010 03:14:51 +0000 (20:14 -0700)]
altosui: Remove Manifest.txt from git repo as it's built now

This file is built with appropriate contents for each different .jar file.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Bounds check Skytraq GPS tracking data array
Keith Packard [Thu, 2 Sep 2010 02:53:24 +0000 (19:53 -0700)]
altos: Bounds check Skytraq GPS tracking data array

Missing GPS serial data could cause the tracking array reset to
get skipped, causing the array to be overrun, smashing critical data
beyond the array.

This was detected using the 'altosui' flash command to program a
device from TM. Hitting the USB that hard caused TM to crash with a
mutex error (3 beeps) after the ao_gps_task structure was overwritten
with zeros.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: missed AltosReader.class in the Makefile
Keith Packard [Tue, 31 Aug 2010 05:24:09 +0000 (22:24 -0700)]
altosui: missed AltosReader.class in the Makefile

This caused clean builds to fail to make this file

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.7+28+gd006c5e
Bdale Garbee [Tue, 31 Aug 2010 04:20:06 +0000 (00:20 -0400)]
update changelogs for Debian build

9 years agoadd runtime dependencies for altos binary package
Bdale Garbee [Tue, 31 Aug 2010 04:19:37 +0000 (00:19 -0400)]
add runtime dependencies for altos binary package

9 years agoupdate changelogs for Debian build debian/0.7+26+gc35632e
Bdale Garbee [Tue, 31 Aug 2010 01:52:51 +0000 (19:52 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.7+25+g2a004d1
Bdale Garbee [Tue, 31 Aug 2010 01:37:50 +0000 (19:37 -0600)]
update changelogs for Debian build

9 years agodon't build all the "fat" jar deliverables by default
Bdale Garbee [Tue, 31 Aug 2010 01:37:17 +0000 (19:37 -0600)]
don't build all the "fat" jar deliverables by default

9 years agoupdate changelogs for Debian build debian/0.7+23+g25764fc
Bdale Garbee [Tue, 31 Aug 2010 01:09:00 +0000 (19:09 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.7+22+g4790f78
Bdale Garbee [Tue, 31 Aug 2010 01:08:29 +0000 (19:08 -0600)]
update changelogs for Debian build

9 years agoadd a .gitattributes file, configuring the Mac and Windows binary library
Bdale Garbee [Tue, 31 Aug 2010 00:48:50 +0000 (18:48 -0600)]
add a .gitattributes file, configuring the Mac and Windows binary library
files with the export-ignore attribute, in hopes that this will prevent
them showing up in source packages

9 years agomake invocation of 'install' pathless to work on more Unix variants
Bdale Garbee [Tue, 31 Aug 2010 00:15:40 +0000 (18:15 -0600)]
make invocation of 'install' pathless to work on more Unix variants

9 years agocontinue even if rm's don't have anything to do
Bdale Garbee [Mon, 30 Aug 2010 23:56:56 +0000 (17:56 -0600)]
continue even if rm's don't have anything to do

9 years agoaltosui: Devices with USB id 0x000a always get listed
Keith Packard [Mon, 30 Aug 2010 12:49:11 +0000 (05:49 -0700)]
altosui: Devices with USB id 0x000a always get listed

List 'unknown' AltusMetrum devices anytime the UI needs a device
name.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: build debian-style altosui too
Keith Packard [Mon, 30 Aug 2010 12:48:23 +0000 (05:48 -0700)]
altosui: build debian-style altosui too

This adds the dependencies to make sure altosui and altosui.jar get built.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Build linux, mac and windows archives on Linux
Keith Packard [Mon, 30 Aug 2010 12:28:37 +0000 (05:28 -0700)]
altosui: Build linux, mac and windows archives on Linux

This adds 'fat' archives for each target OS.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agolibaltos: Use overlapped I/O on windows
Keith Packard [Mon, 30 Aug 2010 12:27:45 +0000 (05:27 -0700)]
libaltos: Use overlapped I/O on windows

Otherwise, reads block writes and vice-versa. Crazy stuff.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Windows sends USB Out packets of 0 length. Ack them.
Keith Packard [Mon, 30 Aug 2010 11:52:00 +0000 (04:52 -0700)]
altos: Windows sends USB Out packets of 0 length. Ack them.

This was an untested case as no other operating system sents 0-length
out packets (they're not necessary). The correct response is to ACK
them by clearing the OUTPKT_RDY bit so that another packet can be sent.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agolibaltos: Add pre-built Windows .dll
Keith Packard [Mon, 30 Aug 2010 09:58:23 +0000 (02:58 -0700)]
libaltos: Add pre-built Windows .dll

This lets us create the windows distribution on Linux.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agolibaltos: Add pre-built Mac OS X libaltos.dylib
Keith Packard [Mon, 30 Aug 2010 09:56:25 +0000 (02:56 -0700)]
libaltos: Add pre-built Mac OS X libaltos.dylib

This allows the mac bits to be built on Linux.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoUpdate telemetrum.inf to include all current USB ids.
Keith Packard [Mon, 30 Aug 2010 09:53:26 +0000 (02:53 -0700)]
Update telemetrum.inf to include all current USB ids.

Windows 7 has 'encouraged' us to split out each product into a
separate USB ID. telemetrum.inf now has all of them listed.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agolibaltos: Improve Makefile
Keith Packard [Mon, 30 Aug 2010 09:49:49 +0000 (02:49 -0700)]
libaltos: Improve Makefile

Builds Windows .dll correctly now and sample app.
Moves linux install target to end so it is not default
Adds .NOTPARALLEL to disable parallel gnumake.
Removes -g debugging flags to shrink file size.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agolibaltos: Fix windows build.
Keith Packard [Mon, 30 Aug 2010 09:00:30 +0000 (02:00 -0700)]
libaltos: Fix windows build.

Need stdlib.h to get calloc/free defined, remove debug printfs, fix
serial timeouts.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: shut down packet mode cleanly
Keith Packard [Mon, 30 Aug 2010 06:22:27 +0000 (23:22 -0700)]
altos: shut down packet mode cleanly

Instead of constantly bashing the packet master thread, let it shut
itself down in an orderly fashion. It will shut down fairly quickly as
all of the activities in that thread are bounded. Otherwise, the
master packet thread might leave mutexes locked and all sorts of other
horrors.

Tested on Linux and Mac OS X and shown to be reliable.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: Abort radio harder when terminating packet mode.
Keith Packard [Mon, 30 Aug 2010 05:42:23 +0000 (22:42 -0700)]
altos: Abort radio harder when terminating packet mode.

Make sure the master radio tasks don't get stuck waiting for an
incoming packet again by aborting the radio each time we poke the
tasks.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltos: flush pending output when terminating packet mode
Keith Packard [Mon, 30 Aug 2010 05:41:18 +0000 (22:41 -0700)]
altos: flush pending output when terminating packet mode

Just in case the last command sent hasn't been transmitted, hang
around for up to a second waiting for the data to get across the link.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agolibaltos: cjnitest needs altos_flush now
Keith Packard [Mon, 30 Aug 2010 04:45:19 +0000 (21:45 -0700)]
libaltos: cjnitest needs altos_flush now

9 years agolibaltos: Missing OS_LDFLAGS on cjnitest build
Keith Packard [Mon, 30 Aug 2010 04:43:46 +0000 (21:43 -0700)]
libaltos: Missing OS_LDFLAGS on cjnitest build

9 years agolibaltos: Mac OS X cannot use 'poll(2)' on serial lines.
Keith Packard [Mon, 30 Aug 2010 04:41:40 +0000 (21:41 -0700)]
libaltos: Mac OS X cannot use 'poll(2)' on serial lines.

Who ships this stuff, anyway? Instead of blocking, we'll poll every 100ms now,
otherwise, we won't be able to abort the read when the device is closed. Yay!

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: discard invalid lines while reading Eeprom flight data
Keith Packard [Mon, 30 Aug 2010 04:40:21 +0000 (21:40 -0700)]
altosui: discard invalid lines while reading Eeprom flight data

This shouldn't happen, but it's easy enough to get back in sync by just
skipping lines with weird contents.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: provide separate flush_input/flush_output for serial. deal with monitor...
Keith Packard [Mon, 30 Aug 2010 04:36:47 +0000 (21:36 -0700)]
altosui: provide separate flush_input/flush_output for serial. deal with monitor automatically

(yes, this should be two patches, but the diffs in AltosSerial were merged together).

First, this replaces the existing flush/flush_reply mess with two simple functions,
one to flush output to the serial device, making sure that all data written will be seen
while we wait for input. The other sucks any pending input off of the serial line and
discards it.

Second, AltosSerial now tracks whether the serial line is being used for telemetry
monitoring. If so, it enables monitoring, otherwise it disables it. Eliminates a
bunch of manual state tracking elsewhere.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agolibaltos: AltusMetrum devices use more than one USB ID.
Keith Packard [Mon, 30 Aug 2010 00:33:59 +0000 (17:33 -0700)]
libaltos: AltusMetrum devices use more than one USB ID.

List all usb devices, picking those with AltusMetrum IDs.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build 0.7 debian/0.6+378+g1cda15f
Bdale Garbee [Sat, 28 Aug 2010 04:26:09 +0000 (22:26 -0600)]
update changelogs for Debian build

9 years agofix up for an 0.7 release
Bdale Garbee [Sat, 28 Aug 2010 04:24:51 +0000 (22:24 -0600)]
fix up for an 0.7 release

9 years agoupdate changelogs for Debian build debian/0.7+18+g42055af
Bdale Garbee [Sat, 28 Aug 2010 04:13:38 +0000 (22:13 -0600)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+375+g0bd4cc0
Bdale Garbee [Fri, 27 Aug 2010 19:13:19 +0000 (13:13 -0600)]
update changelogs for Debian build

9 years agofix path to installed shared library
Bdale Garbee [Fri, 27 Aug 2010 19:12:46 +0000 (13:12 -0600)]
fix path to installed shared library

9 years agoupdate changelogs for Debian build debian/0.6+373+gcf65c6b
Bdale Garbee [Fri, 27 Aug 2010 18:41:26 +0000 (12:41 -0600)]
update changelogs for Debian build

9 years agoMerge branch 'bdale'
Bdale Garbee [Fri, 27 Aug 2010 18:38:25 +0000 (12:38 -0600)]
Merge branch 'bdale'

Conflicts:
debian/control

9 years agoRevert "lose the prebuild hook for now while I'm fumbling"
Bdale Garbee [Fri, 27 Aug 2010 18:37:36 +0000 (12:37 -0600)]
Revert "lose the prebuild hook for now while I'm fumbling"

This reverts commit a21b6bb60ac1c07ebd161534a4ea63bfde50dcdf.

9 years agofix man page delivery path
Bdale Garbee [Fri, 27 Aug 2010 18:25:20 +0000 (12:25 -0600)]
fix man page delivery path

9 years agoinstall altosui man page
Bdale Garbee [Fri, 27 Aug 2010 18:18:28 +0000 (12:18 -0600)]
install altosui man page

9 years agofix permissions on installed jar file, switch from ao-view to altosui in
Bdale Garbee [Fri, 27 Aug 2010 18:16:19 +0000 (12:16 -0600)]
fix permissions on installed jar file, switch from ao-view to altosui in
the desktop file

9 years agoupdate Debian standards version
Bdale Garbee [Fri, 27 Aug 2010 18:06:01 +0000 (12:06 -0600)]
update Debian standards version

9 years agofix up the wrapper's path to the jar file
Bdale Garbee [Fri, 27 Aug 2010 18:04:13 +0000 (12:04 -0600)]
fix up the wrapper's path to the jar file

9 years agoMerge remote branch 'origin/master' into new-packet-format
Keith Packard [Fri, 27 Aug 2010 18:00:31 +0000 (11:00 -0700)]
Merge remote branch 'origin/master' into new-packet-format

9 years agoaltosui: add elevation and range information
Keith Packard [Fri, 27 Aug 2010 17:58:55 +0000 (10:58 -0700)]
altosui: add elevation and range information

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoadd an install target for altosui
Bdale Garbee [Fri, 27 Aug 2010 17:51:24 +0000 (11:51 -0600)]
add an install target for altosui

9 years agoadd install target for libaltos
Bdale Garbee [Fri, 27 Aug 2010 17:45:19 +0000 (11:45 -0600)]
add install target for libaltos

9 years agolose the prebuild hook for now while I'm fumbling
Bdale Garbee [Fri, 27 Aug 2010 17:26:29 +0000 (11:26 -0600)]
lose the prebuild hook for now while I'm fumbling

9 years agoadd a dummy install target
Bdale Garbee [Fri, 27 Aug 2010 17:17:54 +0000 (11:17 -0600)]
add a dummy install target

9 years agoMerge branch 'new-packet-format' of ssh://git.gag.com/scm/git/fw/altos into new-packa...
Bdale Garbee [Fri, 27 Aug 2010 09:08:53 +0000 (03:08 -0600)]
Merge branch 'new-packet-format' of ssh://git.gag.com/scm/git/fw/altos into new-package-format

9 years agoaltos: prepare for sdcc 2.9.1
Keith Packard [Fri, 27 Aug 2010 07:10:29 +0000 (00:10 -0700)]
altos: prepare for sdcc 2.9.1

A few minor language changes -- non-standard keywords are now prefixed
with __, such as 'at', 'interrupt', 'naked'.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: command line args are converted to csv format
Keith Packard [Fri, 27 Aug 2010 06:55:44 +0000 (23:55 -0700)]
altosui: command line args are converted to csv format

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Remove debug printf from AltosState.java
Keith Packard [Fri, 27 Aug 2010 06:54:53 +0000 (23:54 -0700)]
altosui: Remove debug printf from AltosState.java

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: When parsing saved telem files, errors shouldn't abort file
Keith Packard [Fri, 27 Aug 2010 06:53:06 +0000 (23:53 -0700)]
altosui: When parsing saved telem files, errors shouldn't abort file

Make syntax errors in telem files just skip the current line and move
on to the next one instead of abandoning the whole file.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Serial line is in UTF-8 encoding. Deal with it.
Keith Packard [Fri, 27 Aug 2010 06:50:51 +0000 (23:50 -0700)]
altosui: Serial line is in UTF-8 encoding. Deal with it.

We read bytes from the serial line and need to convert each line into
a string. So, save the bytes and at EOL, pass the whole mess to the
string constructor with the appropriate encoding info.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Add support for old (version < 3) telemetry files
Keith Packard [Fri, 27 Aug 2010 06:49:37 +0000 (23:49 -0700)]
altosui: Add support for old (version < 3) telemetry files

This lets the code read telemetry files from pre-released versions of
the software. Not strictly necessary for production, but useful for
analysing old files.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: AltosEepromReader was mis-setting boost tick
Keith Packard [Fri, 27 Aug 2010 06:47:38 +0000 (23:47 -0700)]
altosui: AltosEepromReader was mis-setting boost tick

It was supposed to use record.tick instead of the (unset) state.tick
value.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: add rssi and distance/dir from pad to CSV files
Keith Packard [Fri, 27 Aug 2010 06:44:25 +0000 (23:44 -0700)]
altosui: add rssi and distance/dir from pad to CSV files

Just adds a couple more fields to the CSV files that might be interesting.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoaltosui: Add AltosGreatCircle constructors
Keith Packard [Fri, 27 Aug 2010 06:43:00 +0000 (23:43 -0700)]
altosui: Add AltosGreatCircle constructors

This adds constructurs from AltosGPS pairs and also one from empty
args (which defines both distance and bearing as 0).

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