fw/altos
14 years agoupdate changelogs for Debian build debian/0.6+46+gab1075e
Bdale Garbee [Thu, 26 Nov 2009 18:16:04 +0000 (11:16 -0700)]
update changelogs for Debian build

14 years agochange home URL in control file to be the AltOS page
Bdale Garbee [Thu, 26 Nov 2009 18:15:13 +0000 (11:15 -0700)]
change home URL in control file to be the AltOS page

14 years agofix absolute path in debian/dirs, add Suggests for slim-altusmetrum
Bdale Garbee [Thu, 26 Nov 2009 17:40:07 +0000 (10:40 -0700)]
fix absolute path in debian/dirs, add Suggests for slim-altusmetrum

14 years agoupdate changelogs for Debian build debian/0.6+43+gd6ba07e
Bdale Garbee [Sun, 22 Nov 2009 17:18:44 +0000 (10:18 -0700)]
update changelogs for Debian build

14 years agoAutomatically extract flight number for eeprom and telem filenames.
Keith Packard [Sun, 22 Nov 2009 09:10:44 +0000 (01:10 -0800)]
Automatically extract flight number for eeprom and telem filenames.

Extract flight number from either telemetry or eeprom files and use
that in the resulting filenames. To ensure that files remain unique,
add a new field, -seq-%03d. This is appended only when the sequence
number is non-zero as it shouldn't occur in normal usage.

This also eliminates some duplicate filename creation code in the
library and aoview sources.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoao-postflight: don't try to use missing gps sat data
Keith Packard [Sun, 22 Nov 2009 08:52:58 +0000 (00:52 -0800)]
ao-postflight: don't try to use missing gps sat data

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoao-postflight: compute barometric alt for each GPS position
Keith Packard [Sun, 22 Nov 2009 06:12:21 +0000 (22:12 -0800)]
ao-postflight: compute barometric alt for each GPS position

Print that to the --gps file, and use that in the --kml file for the
altitude. Gives a very different picture of our flight tracks,
presumably far more accurate (at least in altitude).

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoDon't crash if --plot isn't passed on ao-postflight command line
Keith Packard [Sun, 22 Nov 2009 06:11:45 +0000 (22:11 -0800)]
Don't crash if --plot isn't passed on ao-postflight command line

Crashing is not nice.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoConvert telemetry file GPS satellite information in cc_log_read
Keith Packard [Sun, 22 Nov 2009 05:10:09 +0000 (21:10 -0800)]
Convert telemetry file GPS satellite information in cc_log_read

The satellite info wasn't being correctly converted from telemetry
files to the data log structure, so ao-postflight was not seeing it.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoFix --plot arg handling. Add -all option.
Keith Packard [Sun, 22 Nov 2009 05:09:03 +0000 (21:09 -0800)]
Fix --plot arg handling. Add -all option.

The --plot file name handing is special as the library wants a
filename instead of a stdio file pointer.

Add a --all option that just creates all of the possible outputs.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoMake TD print 0000-00-00 for invalid dates.
Keith Packard [Sun, 22 Nov 2009 04:36:20 +0000 (20:36 -0800)]
Make TD print 0000-00-00 for invalid dates.

This 'shouldn't' happen, but in case it does, I want to know about it.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoMake ao-postflight create filenames using input filenames.
Keith Packard [Sun, 22 Nov 2009 04:35:22 +0000 (20:35 -0800)]
Make ao-postflight create filenames using input filenames.

Instead of requiring the user to provide names for the various output
options, just create them from the input name by replacing the extension.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoDocument ao-postflight --gps and --kml options.
Keith Packard [Sun, 22 Nov 2009 03:52:26 +0000 (19:52 -0800)]
Document ao-postflight --gps and --kml options.

These were missing from the man page, but included in the --help output.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoDecode HDOP data from skytraq GPS
Keith Packard [Sun, 22 Nov 2009 02:57:45 +0000 (18:57 -0800)]
Decode HDOP data from skytraq GPS

The hdop data was getting dropped on the floor, but is rather useful
when deciding if the GPS position is crazy or not. This reports HDOP *
5 (giving a useful range of .2-50).

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoupdate changelogs for Debian build debian/0.6+32+g87e6f3e
Bdale Garbee [Fri, 20 Nov 2009 20:19:02 +0000 (13:19 -0700)]
update changelogs for Debian build

14 years agoEliminate SiRF state values from ao-view.
Keith Packard [Fri, 20 Nov 2009 20:16:37 +0000 (12:16 -0800)]
Eliminate SiRF state values from ao-view.

With Skytraq not having any visible GPS state information, just
remove this from the display.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd GPS date/time output to ao-postflight.
Keith Packard [Fri, 20 Nov 2009 19:56:48 +0000 (11:56 -0800)]
Add GPS date/time output to ao-postflight.

GPS date/time information was already being stored in the log, it just
wasn't getting displayed by ao-postflight.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoReduce igniter firing time from 500ms to 50ms.
Keith Packard [Fri, 20 Nov 2009 19:55:28 +0000 (11:55 -0800)]
Reduce igniter firing time from 500ms to 50ms.

Given that the system will brown-out with the longer pulse, it doesn't
make sense to even try; failure at 50ms probably indicates a short.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agofix typo in comment
Bdale Garbee [Fri, 20 Nov 2009 04:43:13 +0000 (21:43 -0700)]
fix typo in comment

14 years agoupdate changelogs for Debian build debian/0.6+27+gb0d7e3f
Bdale Garbee [Fri, 20 Nov 2009 18:44:06 +0000 (11:44 -0700)]
update changelogs for Debian build

14 years agoStop using SiRF state info.
Keith Packard [Mon, 16 Nov 2009 00:20:18 +0000 (16:20 -0800)]
Stop using SiRF state info.

With the switch to the skytraq GPS unit, we don't have the same level
of detail in the GPS stream, so stop reporting that in the telemetry
stream, in the UI and writing it to eeprom.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd date to GPS data, captured from GPRMC packet.
Keith Packard [Mon, 16 Nov 2009 00:04:41 +0000 (16:04 -0800)]
Add date to GPS data, captured from GPRMC packet.

Pull the date out of the GPS stream and send it over the telemetry
link and write it to the eeprom.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd flight number to telemetry stream.
Keith Packard [Sun, 15 Nov 2009 23:59:01 +0000 (15:59 -0800)]
Add flight number to telemetry stream.

This makes it easier to tie the telemetry and eeprom files together as
they're now both labeled with serial and flight numbers, which should
be unique.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoSwitch order of serial/flight in ao-postflight summary
Keith Packard [Sun, 15 Nov 2009 23:53:01 +0000 (15:53 -0800)]
Switch order of serial/flight in ao-postflight summary

14 years agoEnable telemetry receive in ao_view
Keith Packard [Sun, 15 Nov 2009 23:51:58 +0000 (15:51 -0800)]
Enable telemetry receive in ao_view

14 years agoShare telemetry parsing code in cc library.
Keith Packard [Sun, 15 Nov 2009 06:24:37 +0000 (22:24 -0800)]
Share telemetry parsing code in cc library.

ao-view had a private copy of the telemetry parsing code which
included the ability to parse the newer version of that file. Those
changes have been moved to the library version and the private copy removed.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoProvide a dummy 'uninstall' target in the src directory.
Keith Packard [Sun, 15 Nov 2009 06:24:09 +0000 (22:24 -0800)]
Provide a dummy 'uninstall' target in the src directory.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoLoosen tolerances for main->landed transition
Keith Packard [Sun, 15 Nov 2009 06:17:24 +0000 (22:17 -0800)]
Loosen tolerances for main->landed transition

Detecting that the rocket has landed is required for the system to
flush the eeprom log and re-enable the RDF beacon. This patch changes
the landed state entry requirements for the accelerometer to require
only that the accelerometer stay within a quarter of a g (down from
1/10g) and changes the testing interval from 20 seconds to 5
seconds.

The requirement that the barometric altitude be within 1000m of the
launch altitude and that the barometer change by no more than 0.05kPa
are unchanged.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoao-postflight: fix sloppy gps sat data realloc code (was crashing).
Keith Packard [Sun, 15 Nov 2009 00:35:12 +0000 (16:35 -0800)]
ao-postflight: fix sloppy gps sat data realloc code (was crashing).

Realloc'ing the wrong data, and failing to set the realloc'ed size was
causing ao-postflight to crash while reading long logs.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoReturn radio to telemetry settings when packet system closed.
Keith Packard [Fri, 6 Nov 2009 06:11:59 +0000 (22:11 -0800)]
Return radio to telemetry settings when packet system closed.

To receive telemetry after disabling the packet system, the radio must
be reconfigured for telemetry mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd reboot command.
Keith Packard [Fri, 6 Nov 2009 05:45:00 +0000 (21:45 -0800)]
Add reboot command.

This resets the processor using the watchdog timer.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd Watchdog Timer Control register definitions
Keith Packard [Fri, 6 Nov 2009 05:44:31 +0000 (21:44 -0800)]
Add Watchdog Timer Control register definitions

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoMove ao_match_word from ao_ignite.c to ao_cmd.c
Keith Packard [Fri, 6 Nov 2009 05:43:21 +0000 (21:43 -0800)]
Move ao_match_word from ao_ignite.c to ao_cmd.c

This is a generally useful command line utility.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoStop recording in ao-dumplog after receiving an invalid block
Keith Packard [Thu, 5 Nov 2009 05:59:51 +0000 (21:59 -0800)]
Stop recording in ao-dumplog after receiving an invalid block

If no samples in a block are valid, assume the flight log is over.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoFlush pending input when switching to remote packet mode
Keith Packard [Thu, 5 Nov 2009 05:59:12 +0000 (21:59 -0800)]
Flush pending input when switching to remote packet mode

Any pending input would just confuse the application, so pull it off
the link and dump it.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoExplicitly use USB I/O routines in packet code
Keith Packard [Thu, 5 Nov 2009 05:42:51 +0000 (21:42 -0800)]
Explicitly use USB I/O routines in packet code

Using the implicit stdio functions (putchar/getchar/flush) would
result in essentially random redirection of each, depending on whether
the packet code had characters available when getchar was called. This
would cause lockups in putchar.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoIn USB pollchar, wait for packet before re-checking USB out len
Keith Packard [Thu, 5 Nov 2009 05:32:07 +0000 (21:32 -0800)]
In USB pollchar, wait for packet before re-checking USB out len

This probably wouldn't actually cause a problem, but it seems more
reliable to wait for a packet interrupt before re-reading the packet
OUT len register. This could avoid spinning while waiting for a USB
packet, which seems like a good thing.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoIn packet master, move USB flush from packet thread to echo thread
Keith Packard [Thu, 5 Nov 2009 05:29:37 +0000 (21:29 -0800)]
In packet master, move USB flush from packet thread to echo thread

This keeps the packet thread from blocking on USB and also makes the
flush happen after every packet (slightly more USB traffic, but
packets are slow anyway).

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd ability to dump eeprom data over radio link.
Keith Packard [Tue, 3 Nov 2009 09:27:37 +0000 (01:27 -0800)]
Add ability to dump eeprom data over radio link.

This adds a '-R' option to ao-dumplog to redirect the connection
through a USB attached TeleDongle over the radio link to a remote
TeleMetrum device.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoPass accel calibration over telemetry stream. Telemetry data format change.
Keith Packard [Tue, 3 Nov 2009 08:40:38 +0000 (00:40 -0800)]
Pass accel calibration over telemetry stream. Telemetry data format change.

This allows the ground station to convert the accelerometer sensor
values into acceleration and speed data. This requires a new telemetry
data structure, and so TeleMetrum and TeleDongle units must be updated
synchronously. ao-view will parse either telemetry stream, and the
serial format from TeleDongle now has a version number to allow for
future changes.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoao_flight_test was using accel value for pressure too
Keith Packard [Tue, 3 Nov 2009 07:48:29 +0000 (23:48 -0800)]
ao_flight_test was using accel value for pressure too

14 years agoReformat ADC values to show all 16 bits
Keith Packard [Tue, 3 Nov 2009 05:47:41 +0000 (21:47 -0800)]
Reformat ADC values to show all 16 bits

14 years agoRemove "f" command
Keith Packard [Tue, 3 Nov 2009 05:48:16 +0000 (21:48 -0800)]
Remove "f" command

14 years agoRemove "d" command
Keith Packard [Tue, 3 Nov 2009 05:47:15 +0000 (21:47 -0800)]
Remove "d" command

14 years agoRemove "l" command as ao-dumplong no longer uses it
Keith Packard [Tue, 3 Nov 2009 05:46:39 +0000 (21:46 -0800)]
Remove "l" command as ao-dumplong no longer uses it

14 years agoAdd two-point accelerometer calibration.
Keith Packard [Tue, 3 Nov 2009 05:38:18 +0000 (21:38 -0800)]
Add two-point accelerometer calibration.

Calibration now uses two values, one upside right and the other upside
down instead of a single horizontal value. This allows the use of
other accelerometers and compensates for variations in the divider
circuit to provide more accurate data.

14 years agoupdate changelogs for Debian build debian/0.6
Bdale Garbee [Mon, 2 Nov 2009 23:54:06 +0000 (16:54 -0700)]
update changelogs for Debian build

14 years agoMerge remote branch 'origin/master' 0.6
Keith Packard [Mon, 2 Nov 2009 23:47:40 +0000 (15:47 -0800)]
Merge remote branch 'origin/master'

14 years agoAdd ao_usb_pollchar to ao.h
Keith Packard [Mon, 2 Nov 2009 23:45:58 +0000 (15:45 -0800)]
Add ao_usb_pollchar to ao.h

14 years agoDisable interrupts while removing tasks from task list
Keith Packard [Mon, 2 Nov 2009 23:45:42 +0000 (15:45 -0800)]
Disable interrupts while removing tasks from task list

14 years agoAdd more docs to the README file
Keith Packard [Mon, 2 Nov 2009 23:45:07 +0000 (15:45 -0800)]
Add more docs to the README file

14 years agoupdate changelogs for Debian build debian/0.5+90+g127c312
Bdale Garbee [Mon, 2 Nov 2009 23:00:11 +0000 (16:00 -0700)]
update changelogs for Debian build

14 years agoupdate changelogs for Debian build debian/0.5+89+g6b1e775
Bdale Garbee [Mon, 2 Nov 2009 22:59:12 +0000 (15:59 -0700)]
update changelogs for Debian build

14 years agoupdate changelogs for Debian build debian/0.5+88+g8203bfa
Bdale Garbee [Mon, 2 Nov 2009 22:57:41 +0000 (15:57 -0700)]
update changelogs for Debian build

14 years agode-version the libreadline-dev build dependency
Bdale Garbee [Mon, 2 Nov 2009 22:56:42 +0000 (15:56 -0700)]
de-version the libreadline-dev build dependency

14 years agoMerge remote branch 'origin/master' into skytraq
Keith Packard [Mon, 2 Nov 2009 04:59:02 +0000 (20:59 -0800)]
Merge remote branch 'origin/master' into skytraq

14 years agoEnable packet-based communcation to command processor
Keith Packard [Mon, 2 Nov 2009 04:57:03 +0000 (20:57 -0800)]
Enable packet-based communcation to command processor

This splits the packet code into master/slave halves and hooks the
slave side up to the getchar/putchar/flush logic in ao_stdio.c

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoNo need to wakeup &ao_tick_count now
Keith Packard [Sat, 31 Oct 2009 08:30:22 +0000 (01:30 -0700)]
No need to wakeup &ao_tick_count now

14 years agoPoke master to speed up packet rate when things are busy
Keith Packard [Sat, 31 Oct 2009 08:20:26 +0000 (01:20 -0700)]
Poke master to speed up packet rate when things are busy

14 years agoUse ao_alarm for ao_delay so it can be easily interrupted
Keith Packard [Sat, 31 Oct 2009 08:19:41 +0000 (01:19 -0700)]
Use ao_alarm for ao_delay so it can be easily interrupted

14 years agoDo more flushing in packet test code
Keith Packard [Sat, 31 Oct 2009 06:53:03 +0000 (23:53 -0700)]
Do more flushing in packet test code

14 years agoAdd RFIM register
Keith Packard [Sat, 31 Oct 2009 06:52:44 +0000 (23:52 -0700)]
Add RFIM register

14 years agoSend SYN packet to set sequence numbers
Keith Packard [Sat, 31 Oct 2009 06:52:22 +0000 (23:52 -0700)]
Send SYN packet to set sequence numbers

14 years agoUse ao_radio_done to wait for TX to completely finish with packet
Keith Packard [Sat, 31 Oct 2009 06:51:38 +0000 (23:51 -0700)]
Use ao_radio_done to wait for TX to completely finish with packet

14 years agoSwitch packet code from timer thread to ao_alarm
Keith Packard [Sat, 31 Oct 2009 06:50:54 +0000 (23:50 -0700)]
Switch packet code from timer thread to ao_alarm

14 years agoRemove reason from ao_dma_abort
Keith Packard [Sat, 31 Oct 2009 06:48:36 +0000 (23:48 -0700)]
Remove reason from ao_dma_abort

14 years agoAdd ao_alarm
Keith Packard [Sat, 31 Oct 2009 06:46:21 +0000 (23:46 -0700)]
Add ao_alarm

14 years agoWait for TX to finish sending data
Keith Packard [Sat, 31 Oct 2009 06:45:43 +0000 (23:45 -0700)]
Wait for TX to finish sending data

14 years agoAdd radio carrier command
Keith Packard [Sat, 31 Oct 2009 06:43:52 +0000 (23:43 -0700)]
Add radio carrier command

14 years agoInitial packet bits. Just testing transmission
Keith Packard [Fri, 30 Oct 2009 23:39:15 +0000 (16:39 -0700)]
Initial packet bits. Just testing transmission

14 years agoAdd keyhole-markup generation for ao-postflight.
Keith Packard [Wed, 21 Oct 2009 08:18:49 +0000 (17:18 +0900)]
Add keyhole-markup generation for ao-postflight.

This lets you see the flight path in googleearth.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd ao_wake_task and ao_exit
Keith Packard [Fri, 16 Oct 2009 03:59:53 +0000 (12:59 +0900)]
Add ao_wake_task and ao_exit

ao_wake_task signals a specific task to wake up.
ao_exit terminates the current task.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoSave some DSEG space by marking cmd functions __reentrant
Keith Packard [Fri, 16 Oct 2009 03:56:45 +0000 (12:56 +0900)]
Save some DSEG space by marking cmd functions __reentrant

__reentrant causes the compiler to place args and locals on the stack
instead of in the data segment.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoupdate changelogs for Debian build debian/0.5+86+g2de548f
Bdale Garbee [Mon, 12 Oct 2009 22:58:46 +0000 (16:58 -0600)]
update changelogs for Debian build

14 years agooops, forgot to specify the repo to push to
Bdale Garbee [Mon, 12 Oct 2009 22:58:19 +0000 (16:58 -0600)]
oops, forgot to specify the repo to push to

14 years agoupdate changelogs for Debian build debian/0.5+84+g513328a
Bdale Garbee [Mon, 12 Oct 2009 22:57:33 +0000 (16:57 -0600)]
update changelogs for Debian build

14 years agoautomate push of updated and tagged master branch during debian/rules prebuild
Bdale Garbee [Mon, 12 Oct 2009 22:56:50 +0000 (16:56 -0600)]
automate push of updated and tagged master branch during debian/rules prebuild

14 years agoupdate changelogs for Debian build debian/0.5+82+g23bc21a
Bdale Garbee [Mon, 12 Oct 2009 22:54:44 +0000 (16:54 -0600)]
update changelogs for Debian build

14 years agoundue damage from partial build
Bdale Garbee [Mon, 12 Oct 2009 22:54:16 +0000 (16:54 -0600)]
undue damage from partial build

14 years agoadd support for tagging git repository on each Debian package build
Bdale Garbee [Mon, 12 Oct 2009 22:52:52 +0000 (16:52 -0600)]
add support for tagging git repository on each Debian package build

14 years agoupdate changelogs for Debian build
Bdale Garbee [Mon, 12 Oct 2009 22:49:34 +0000 (16:49 -0600)]
update changelogs for Debian build

14 years agoflush repetitive junk out of debian/changelog, and update the prebuild target
Bdale Garbee [Mon, 12 Oct 2009 22:48:43 +0000 (16:48 -0600)]
flush repetitive junk out of debian/changelog, and update the prebuild target
in debian/rules to put git commit details into the Debian changelog

14 years agoupdate changelogs for Debian build debian/0.5+77+gc57bd7f
Bdale Garbee [Mon, 12 Oct 2009 21:57:19 +0000 (15:57 -0600)]
update changelogs for Debian build

14 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Mon, 12 Oct 2009 21:57:08 +0000 (15:57 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

14 years agoMerge branch 'master' into skytraq
Keith Packard [Sun, 11 Oct 2009 00:16:21 +0000 (17:16 -0700)]
Merge branch 'master' into skytraq

14 years agoAdd apogee igniter delay.
Keith Packard [Sun, 11 Oct 2009 00:15:38 +0000 (17:15 -0700)]
Add apogee igniter delay.

Provide for a delay after apogee before the drogue charge is
fired. This allows TM to be used as a back-up altimeter.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoMerge branch 'master' into skytraq
Keith Packard [Sat, 10 Oct 2009 22:09:48 +0000 (15:09 -0700)]
Merge branch 'master' into skytraq

14 years agoReport igniter continuity in pad/idle mode via beeper
Keith Packard [Sat, 10 Oct 2009 22:08:14 +0000 (15:08 -0700)]
Report igniter continuity in pad/idle mode via beeper

one short beep = drogue
two short beeps = main
three short beeps = both
one long warble = neither

In idle mode, it does this just once. In pad mode, it keeps testing
and reporting.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoupdate changelogs for Debian build
Bdale Garbee [Sat, 10 Oct 2009 21:11:23 +0000 (15:11 -0600)]
update changelogs for Debian build

14 years agoMerge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Bdale Garbee [Sat, 10 Oct 2009 21:05:50 +0000 (15:05 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos

14 years agoMerge branch 'master' into skytraq
Keith Packard [Sat, 10 Oct 2009 21:00:03 +0000 (14:00 -0700)]
Merge branch 'master' into skytraq

14 years agoao-dumplog: switch to 'e' command, display progress
Keith Packard [Sat, 10 Oct 2009 20:58:16 +0000 (13:58 -0700)]
ao-dumplog: switch to 'e' command, display progress

Using the 'e' command allows additional checking of the data,
including end-to-end checksums and detection of missing data.

Progress is displayed by showing the recorded flight state along with
a '.' for each eeprom block read.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoMerge branch 'master' into skytraq
Keith Packard [Sat, 10 Oct 2009 20:41:00 +0000 (13:41 -0700)]
Merge branch 'master' into skytraq

14 years agoSend 0-length IN packet to flush USB after full packet
Keith Packard [Sat, 10 Oct 2009 20:39:01 +0000 (13:39 -0700)]
Send 0-length IN packet to flush USB after full packet

USB bulk transfers are a sequence of maximum-sized packets followed by
a short packet, which signals the end of the transfer. When the last
packet of the transfer would be a full-sized packet, an additional
packet of zero length is sent to signal the transfer end.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoMerge branch 'master' into skytraq
Keith Packard [Sat, 10 Oct 2009 18:44:20 +0000 (11:44 -0700)]
Merge branch 'master' into skytraq

14 years agoAdd channel menu to ao-view.
Keith Packard [Sat, 10 Oct 2009 18:43:31 +0000 (11:43 -0700)]
Add channel menu to ao-view.

Sets radio channel when TD is connected, saves selected channel in
gconf database.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoBuild two versions of TM, one for SiRF, one for SkyTraq
Keith Packard [Sat, 10 Oct 2009 05:48:29 +0000 (22:48 -0700)]
Build two versions of TM, one for SiRF, one for SkyTraq

This creates two separate images, depending on which GPS unit is
connected.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoAdd support for the SkyTraq GPS unit
Keith Packard [Sat, 10 Oct 2009 05:02:40 +0000 (22:02 -0700)]
Add support for the SkyTraq GPS unit

This is a build-time option selected by hacking the Makefile at present.

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoao-view: fix snd_pcm_open return checking
Keith Packard [Wed, 7 Oct 2009 03:06:00 +0000 (20:06 -0700)]
ao-view: fix snd_pcm_open return checking

I don't know how this code was supposed to work before...

Signed-off-by: Keith Packard <keithp@keithp.com>
14 years agoao-postflight: dump out GPS signal data
Keith Packard [Wed, 7 Oct 2009 03:05:36 +0000 (20:05 -0700)]
ao-postflight: dump out GPS signal data

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