]>
git.gag.com Git - fw/altos/log
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>
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>
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>
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>
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>
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>
Keith Packard [Tue, 3 Nov 2009 07:48:29 +0000 (23:48 -0800)]
ao_flight_test was using accel value for pressure too
Keith Packard [Tue, 3 Nov 2009 05:47:41 +0000 (21:47 -0800)]
Reformat ADC values to show all 16 bits
Keith Packard [Tue, 3 Nov 2009 05:48:16 +0000 (21:48 -0800)]
Remove "f" command
Keith Packard [Tue, 3 Nov 2009 05:47:15 +0000 (21:47 -0800)]
Remove "d" command
Keith Packard [Tue, 3 Nov 2009 05:46:39 +0000 (21:46 -0800)]
Remove "l" command as ao-dumplong no longer uses it
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.
Bdale Garbee [Mon, 2 Nov 2009 23:54:06 +0000 (16:54 -0700)]
update changelogs for Debian build
Keith Packard [Mon, 2 Nov 2009 23:47:40 +0000 (15:47 -0800)]
Merge remote branch 'origin/master'
Keith Packard [Mon, 2 Nov 2009 23:45:58 +0000 (15:45 -0800)]
Add ao_usb_pollchar to ao.h
Keith Packard [Mon, 2 Nov 2009 23:45:42 +0000 (15:45 -0800)]
Disable interrupts while removing tasks from task list
Keith Packard [Mon, 2 Nov 2009 23:45:07 +0000 (15:45 -0800)]
Add more docs to the README file
Bdale Garbee [Mon, 2 Nov 2009 23:00:11 +0000 (16:00 -0700)]
update changelogs for Debian build
Bdale Garbee [Mon, 2 Nov 2009 22:59:12 +0000 (15:59 -0700)]
update changelogs for Debian build
Bdale Garbee [Mon, 2 Nov 2009 22:57:41 +0000 (15:57 -0700)]
update changelogs for Debian build
Bdale Garbee [Mon, 2 Nov 2009 22:56:42 +0000 (15:56 -0700)]
de-version the libreadline-dev build dependency
Keith Packard [Mon, 2 Nov 2009 04:59:02 +0000 (20:59 -0800)]
Merge remote branch 'origin/master' into skytraq
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>
Keith Packard [Sat, 31 Oct 2009 08:30:22 +0000 (01:30 -0700)]
No need to wakeup &ao_tick_count now
Keith Packard [Sat, 31 Oct 2009 08:20:26 +0000 (01:20 -0700)]
Poke master to speed up packet rate when things are busy
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
Keith Packard [Sat, 31 Oct 2009 06:53:03 +0000 (23:53 -0700)]
Do more flushing in packet test code
Keith Packard [Sat, 31 Oct 2009 06:52:44 +0000 (23:52 -0700)]
Add RFIM register
Keith Packard [Sat, 31 Oct 2009 06:52:22 +0000 (23:52 -0700)]
Send SYN packet to set sequence numbers
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
Keith Packard [Sat, 31 Oct 2009 06:50:54 +0000 (23:50 -0700)]
Switch packet code from timer thread to ao_alarm
Keith Packard [Sat, 31 Oct 2009 06:48:36 +0000 (23:48 -0700)]
Remove reason from ao_dma_abort
Keith Packard [Sat, 31 Oct 2009 06:46:21 +0000 (23:46 -0700)]
Add ao_alarm
Keith Packard [Sat, 31 Oct 2009 06:45:43 +0000 (23:45 -0700)]
Wait for TX to finish sending data
Keith Packard [Sat, 31 Oct 2009 06:43:52 +0000 (23:43 -0700)]
Add radio carrier command
Keith Packard [Fri, 30 Oct 2009 23:39:15 +0000 (16:39 -0700)]
Initial packet bits. Just testing transmission
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>
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>
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>
Bdale Garbee [Mon, 12 Oct 2009 22:58:46 +0000 (16:58 -0600)]
update changelogs for Debian build
Bdale Garbee [Mon, 12 Oct 2009 22:58:19 +0000 (16:58 -0600)]
oops, forgot to specify the repo to push to
Bdale Garbee [Mon, 12 Oct 2009 22:57:33 +0000 (16:57 -0600)]
update changelogs for Debian build
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
Bdale Garbee [Mon, 12 Oct 2009 22:54:44 +0000 (16:54 -0600)]
update changelogs for Debian build
Bdale Garbee [Mon, 12 Oct 2009 22:54:16 +0000 (16:54 -0600)]
undue damage from partial 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
Bdale Garbee [Mon, 12 Oct 2009 22:49:34 +0000 (16:49 -0600)]
update changelogs for Debian build
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
Bdale Garbee [Mon, 12 Oct 2009 21:57:19 +0000 (15:57 -0600)]
update changelogs for Debian build
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
Keith Packard [Sun, 11 Oct 2009 00:16:21 +0000 (17:16 -0700)]
Merge branch 'master' into skytraq
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>
Keith Packard [Sat, 10 Oct 2009 22:09:48 +0000 (15:09 -0700)]
Merge branch 'master' into skytraq
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>
Bdale Garbee [Sat, 10 Oct 2009 21:11:23 +0000 (15:11 -0600)]
update changelogs for Debian build
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
Keith Packard [Sat, 10 Oct 2009 21:00:03 +0000 (14:00 -0700)]
Merge branch 'master' into skytraq
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>
Keith Packard [Sat, 10 Oct 2009 20:41:00 +0000 (13:41 -0700)]
Merge branch 'master' into skytraq
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>
Keith Packard [Sat, 10 Oct 2009 18:44:20 +0000 (11:44 -0700)]
Merge branch 'master' into skytraq
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>
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>
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>
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>
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>
Bdale Garbee [Tue, 22 Sep 2009 05:46:59 +0000 (22:46 -0700)]
update changelogs for Debian build
Bdale Garbee [Mon, 21 Sep 2009 18:00:32 +0000 (11:00 -0700)]
update changelogs for Debian build
Bdale Garbee [Mon, 21 Sep 2009 18:00:22 +0000 (11:00 -0700)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sun, 20 Sep 2009 20:33:59 +0000 (13:33 -0700)]
make bit-banging reset script actually reset
Keith Packard [Sun, 20 Sep 2009 20:33:26 +0000 (13:33 -0700)]
Add --gps option to ao-postflight
Keith Packard [Sun, 20 Sep 2009 20:32:59 +0000 (13:32 -0700)]
ao_rawload: Don't reset after we finish loading
Bdale Garbee [Sun, 20 Sep 2009 15:21:00 +0000 (09:21 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 20 Sep 2009 15:19:28 +0000 (09:19 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Thu, 10 Sep 2009 18:53:06 +0000 (11:53 -0700)]
Plot raw accel data for the motor accel section.
This shows a short sequence of accelerometer data without any filtering.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 7 Sep 2009 04:02:48 +0000 (21:02 -0700)]
Show acceleration only during boost phase.
We're interested in motor performance; the rest of the flight is
boring, after all.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 7 Sep 2009 04:01:44 +0000 (21:01 -0700)]
Fix cc_period_make to not get stuck on samples with matching time
When two samples have matching times, step to the second one;
otherwise, we'll get stuck forever.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 7 Sep 2009 03:26:17 +0000 (20:26 -0700)]
Color plots, integrate only flight portion of data.
Telemetry files have piles of pad data which shouldn't be integrated
into the velocity data as it tends to generate huge values from the
noise of the sensor.
Also make the data lines colored to keep them visually distinct from
the rest of the plot image.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Mon, 7 Sep 2009 01:11:24 +0000 (18:11 -0700)]
Update usage and man page for ao-postflight
Bdale Garbee [Mon, 7 Sep 2009 00:01:20 +0000 (18:01 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 6 Sep 2009 23:59:47 +0000 (17:59 -0600)]
need a run-time dependency to pull in the cairo module
Bdale Garbee [Sun, 6 Sep 2009 23:48:23 +0000 (17:48 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 6 Sep 2009 23:48:10 +0000 (17:48 -0600)]
more build deps for plotting lib
Bdale Garbee [Sun, 6 Sep 2009 23:47:56 +0000 (17:47 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 6 Sep 2009 23:46:39 +0000 (17:46 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 6 Sep 2009 23:46:10 +0000 (17:46 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sun, 6 Sep 2009 23:45:47 +0000 (16:45 -0700)]
Use plplotd instead of plplotd-gnome2
Bdale Garbee [Sun, 6 Sep 2009 23:34:08 +0000 (17:34 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sun, 6 Sep 2009 23:24:35 +0000 (16:24 -0700)]
Add plots to ao-postflight using the plplot library
It's not perfect, but it generates .svg plot output.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Sun, 6 Sep 2009 20:15:57 +0000 (14:15 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 6 Sep 2009 20:15:53 +0000 (14:15 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sun, 6 Sep 2009 20:15:10 +0000 (13:15 -0700)]
Don't look at NULL strings (summary_name)
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 6 Sep 2009 20:08:54 +0000 (13:08 -0700)]
Use pressure speed for drogue and beyond states. Fix differentiation time.
Drogue state should always use pressure speeds.
Differentiation code was using centi-seconds instead of seconds.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Sun, 6 Sep 2009 20:05:55 +0000 (14:05 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 6 Sep 2009 20:05:51 +0000 (14:05 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sun, 6 Sep 2009 20:04:31 +0000 (13:04 -0700)]
Initialize summary_name and detail_name so stuff appears on stdout.
Uninitialized variables lead to mysterious results.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Sun, 6 Sep 2009 20:02:14 +0000 (14:02 -0600)]
update changelogs for Debian build
Bdale Garbee [Sun, 6 Sep 2009 20:02:09 +0000 (14:02 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sun, 6 Sep 2009 19:51:48 +0000 (12:51 -0700)]
Add DSP code to filter data, allowing for integration/differentiation
This adds the computation of speed from both accelerometer and
barometer measurements and then presents a periodic flight profile
using filtered data as a detailed flight record.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Sun, 6 Sep 2009 16:40:06 +0000 (10:40 -0600)]
update changelogs for Debian build