]>
git.gag.com Git - fw/altos/log
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
Bdale Garbee [Sun, 6 Sep 2009 16:39:23 +0000 (10:39 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sun, 6 Sep 2009 05:45:49 +0000 (22:45 -0700)]
Handle vageries of .telem files in ao-postflight
Telem files have multiple entries of the same state, and sometimes
long gaps between recordings. Deal with this as best as possible.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sun, 6 Sep 2009 05:03:31 +0000 (22:03 -0700)]
Add simple post-flight analysis tool (ao-postflight)
This tool reads either an eeprom or telem log file and displays some
rudimentary data (max accel/alt for each flight stage).
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Sat, 5 Sep 2009 07:29:26 +0000 (00:29 -0700)]
Add ao-dumplog to capture flight log from command line
This duplicates the functionality of the flight log stuf in ao-view,
except from the command line where it belongs.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 4 Sep 2009 22:30:22 +0000 (15:30 -0700)]
Add --device/-D support to the command line tools and manuals
Use the new cc_usbdevs_find_by_arg function to locate suitable target
devices connected via USB.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Fri, 4 Sep 2009 22:03:55 +0000 (16:03 -0600)]
update changelogs for Debian build
Keith Packard [Fri, 4 Sep 2009 22:01:32 +0000 (15:01 -0700)]
'fix' ao-eeprom to read two blocks at once. Work around kernel bugs.
The kernel appears to leave serial data undelivered at times. Reading
two blocks at once appears to make it relinquish the queued data.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 4 Sep 2009 21:23:02 +0000 (14:23 -0700)]
Add 'ao-list' utility to show attached AltOS devices
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 4 Sep 2009 21:21:19 +0000 (14:21 -0700)]
Parse the USB serial number as an integer.
AltOS devices use simple integer serial numbers, so parse the USB
value as such to make matching values more forgiving.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 4 Sep 2009 20:00:02 +0000 (13:00 -0700)]
Move usb scanning code to ao-tools library
This will allow the scanning code to be used by the command line tools
as well as the ao-view GUI.
Now that ao-view depends on the ao-tools library, it has been moved to
the ao-tools directory as well.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 4 Sep 2009 19:25:37 +0000 (12:25 -0700)]
Set all of the values to reset the radio for telemetry
Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when
resetting the radio back to telemetry data mode from rdf mode. With
the length value removed from the rdf config, these two arrays are no
longer the same length, and so the last config value was not set
leaving the radio sending garbage.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 4 Sep 2009 18:46:55 +0000 (11:46 -0700)]
Make RDF beacon only run on pad and after landing.
It's pretty much impossible to RDF the rocket during flight, and it
interferes with the telemetry data stream. Leave it enabled on the pad
so that radios can be tested, and then re-enable it once the rocket
has landed.
This patch also turns the rdf 'on' time into a parameter so it can be
changed, and then sets that parameter to 500ms, once every 5 seconds.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 4 Sep 2009 18:45:52 +0000 (11:45 -0700)]
Add back the RDF tone generator
Tracking the rocket on the ground may be easier using tones than using
the digital data stream, so we'll try that and see what we think.
This reverts commit
3a3bfd471a868d546d83cdc431b53c8f5208edb9 .
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Thu, 3 Sep 2009 05:18:15 +0000 (23:18 -0600)]
update changelogs for Debian build
Bdale Garbee [Thu, 3 Sep 2009 05:17:37 +0000 (23:17 -0600)]
Merge commit 'origin/master'
Keith Packard [Thu, 3 Sep 2009 05:01:52 +0000 (22:01 -0700)]
Remove bit-banging debug support from TM board builds
Our current TM boards don't have the wires to do bit-banging to
another cc1111 board, so it doesn't make sense to fill up their flash
with useless code (and the 'help' text with useless commands). Leave
this to the TI board until we have boards that can serve as debug dongles.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 3 Sep 2009 05:00:37 +0000 (22:00 -0700)]
Make the ao_log_record structures 8 bytes again.
When the GPS signal strength data was added, the structure was
accidentally extended to 9 bytes, making all log records 9 bytes
long. While not a serious problem, this left log records spanning
across eeprom block boundaries, which seems like a bad plan.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Thu, 3 Sep 2009 04:57:54 +0000 (21:57 -0700)]
Make eeprom reads and writes across block boundary work
Reading and writing across the block boundary was not stepping the
eeprom position after the partial i/o operation at the end of the
first block. This meant that the operation would re-use the end of the
previous block, either re-reading or re-writing it.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Mon, 31 Aug 2009 22:48:03 +0000 (16:48 -0600)]
update changelogs for Debian build
Bdale Garbee [Mon, 31 Aug 2009 22:47:44 +0000 (16:47 -0600)]
pixmap file should not be executable
Bdale Garbee [Mon, 31 Aug 2009 22:42:55 +0000 (16:42 -0600)]
update changelogs for Debian build
Bdale Garbee [Mon, 31 Aug 2009 22:42:37 +0000 (16:42 -0600)]
deliver an icon for the Debian menu system
Bdale Garbee [Mon, 31 Aug 2009 22:26:00 +0000 (16:26 -0600)]
update changelogs for Debian build
Bdale Garbee [Mon, 31 Aug 2009 22:25:32 +0000 (16:25 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Sat, 22 Aug 2009 20:38:56 +0000 (13:38 -0700)]
Enable GPS degraded mode, set 10 sec degraded timeout.
No reason not to let the GPS report solutions whenever it likes, let's
see how this works.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Fri, 21 Aug 2009 17:47:46 +0000 (10:47 -0700)]
Turn off GPS tracking data when not present in data stream
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Wed, 19 Aug 2009 08:21:23 +0000 (02:21 -0600)]
update changelogs for Debian build
Bdale Garbee [Wed, 19 Aug 2009 08:21:06 +0000 (02:21 -0600)]
fix location for delivery of sources.list fragment
Bdale Garbee [Wed, 19 Aug 2009 08:11:11 +0000 (02:11 -0600)]
update changelogs for Debian build
Bdale Garbee [Wed, 19 Aug 2009 08:11:00 +0000 (02:11 -0600)]
oops, aoview is now ao-view!
Bdale Garbee [Wed, 19 Aug 2009 08:07:16 +0000 (02:07 -0600)]
update changelogs for Debian build
Bdale Garbee [Wed, 19 Aug 2009 08:06:49 +0000 (02:06 -0600)]
enable support for Debian menus
Bdale Garbee [Wed, 19 Aug 2009 06:52:57 +0000 (00:52 -0600)]
update changelogs for Debian build
Bdale Garbee [Wed, 19 Aug 2009 06:49:24 +0000 (00:49 -0600)]
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Keith Packard [Wed, 19 Aug 2009 06:38:16 +0000 (23:38 -0700)]
Update ao-view to add GPS satellite tracking data
This adds another column to the display to hold per-satellite GPS
tracking data and a count of the visible and locked sats.
Signed-off-by: Keith Packard <keithp@keithp.com>
Keith Packard [Wed, 19 Aug 2009 05:35:15 +0000 (22:35 -0700)]
Handle GPS satellite tracking data
SiRF message #4 includes signal strength and GPS engine state for each
of the satellites being tracked. This data is now parsed and sent to
eeprom and the radio.
Signed-off-by: Keith Packard <keithp@keithp.com>
Bdale Garbee [Wed, 19 Aug 2009 03:57:01 +0000 (21:57 -0600)]
update changelogs for Debian build
Bdale Garbee [Wed, 19 Aug 2009 03:49:39 +0000 (21:49 -0600)]
add support for building Debian package