fw/altos
9 years agoupdate changelogs for Debian build debian/0.6+86+g2491282
Bdale Garbee [Wed, 24 Feb 2010 21:57:26 +0000 (14:57 -0700)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+85+g82fdbfe
Bdale Garbee [Wed, 24 Feb 2010 21:53:27 +0000 (14:53 -0700)]
update changelogs for Debian build

9 years agoMust install .map files for ao-load to work
Keith Packard [Sun, 21 Feb 2010 05:35:43 +0000 (21:35 -0800)]
Must install .map files for ao-load to work

ao-load uses the .map files to rewrite the serial number and other
config parameters into the program flash.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd back stack size checking to altos linking phase
Keith Packard [Sun, 21 Feb 2010 05:20:05 +0000 (21:20 -0800)]
Add back stack size checking to altos linking phase

This verifies that the stack start specified during the compile
will work with the resulting program

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoQuiet make output.
Keith Packard [Sun, 21 Feb 2010 05:05:45 +0000 (21:05 -0800)]
Quiet make output.

This borrows ideas from the notmuch project to reduce the command line
clutter seen when compiling or linking stuff.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoUpdate .gitignore files
Keith Packard [Sun, 21 Feb 2010 04:36:08 +0000 (20:36 -0800)]
Update .gitignore files

9 years agoChange altos build process to support per-product compile-time changes
Keith Packard [Sun, 21 Feb 2010 04:22:16 +0000 (20:22 -0800)]
Change altos build process to support per-product compile-time changes

This creates per-product subdirectories and recompiles everything for
each product, allowing per-product compile-time changes for things
like peripheral pin assignments and attached serial devices.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoChange barometer conversion code to shrink conversion table
Keith Packard [Sun, 21 Feb 2010 04:21:07 +0000 (20:21 -0800)]
Change barometer conversion code to shrink conversion table

9 years agoLog GPS data on pad after boost detect.
Keith Packard [Sun, 14 Feb 2010 00:42:27 +0000 (16:42 -0800)]
Log GPS data on pad after boost detect.

This wakes up the two GPS reporting tasks and gets them to report out
any existing GPS data to the log file. To make sure the timestamps in
that GPS data are accurate, this also records GPS time on receipt of
the GPS data instead of when that is logged.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoPull in a bit more data for filtering the start of the boost
Keith Packard [Sun, 7 Feb 2010 08:25:22 +0000 (00:25 -0800)]
Pull in a bit more data for filtering the start of the boost

9 years agoCompute daytime using GPS as time base
Keith Packard [Sun, 7 Feb 2010 08:24:56 +0000 (00:24 -0800)]
Compute daytime using GPS as time base

9 years agoMissing ao_mutex_put in gps_dump
Keith Packard [Fri, 12 Feb 2010 02:48:56 +0000 (18:48 -0800)]
Missing ao_mutex_put in gps_dump

9 years agoSwitch to using internal cc1111 temperature sensor
Keith Packard [Mon, 11 Jan 2010 00:31:50 +0000 (16:31 -0800)]
Switch to using internal cc1111 temperature sensor

v0.2 has no temperature sensor, and several of the v0.1 boards didn't
get a temperature sensor loaded. Use the internal temperature sensor
on the cc1111 in all cases instead.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoForce idle mode by shorting the SPI clock to ground at boot time.
Keith Packard [Sun, 10 Jan 2010 06:06:19 +0000 (22:06 -0800)]
Force idle mode by shorting the SPI clock to ground at boot time.

This allows you to override the flight mode detection code in case the
accelerometer calibration is broken somehow. Hold the SPI clock shoted
to ground until the LED comes on, then remove it.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd simple gps dump command 'g'
Keith Packard [Sun, 10 Jan 2010 04:57:48 +0000 (20:57 -0800)]
Add simple gps dump command 'g'

This just dumps out the data in a very simple format to verify the GPS
receiver.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRemove flash debugging printfs
Keith Packard [Sun, 10 Jan 2010 04:57:29 +0000 (20:57 -0800)]
Remove flash debugging printfs

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoDon't set ao_flash_setup_done until we're actually done.
Keith Packard [Sun, 10 Jan 2010 04:42:57 +0000 (20:42 -0800)]
Don't set ao_flash_setup_done until we're actually done.

Because we're accessing this variable outside of the mutex, we need to
make sure it isn't set until the data it covers has been initialized.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoDump config block from read/write config and flash_status commands
Keith Packard [Sun, 10 Jan 2010 04:04:42 +0000 (20:04 -0800)]
Dump config block from read/write config and flash_status commands

9 years agoDump more flash parameters for the flash_status command
Keith Packard [Sun, 10 Jan 2010 03:46:46 +0000 (19:46 -0800)]
Dump more flash parameters for the flash_status command

9 years agoAdd 'f' command to display flash status register contents
Keith Packard [Sun, 10 Jan 2010 01:57:52 +0000 (17:57 -0800)]
Add 'f' command to display flash status register contents

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd at45db161d.h header file for new flash part.
Keith Packard [Sat, 9 Jan 2010 17:55:04 +0000 (09:55 -0800)]
Add at45db161d.h header file for new flash part.

Forgot to add this when I added the driver.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRemove green LED and temp sensor from v0.2 code
Keith Packard [Sat, 9 Jan 2010 09:29:41 +0000 (01:29 -0800)]
Remove green LED and temp sensor from v0.2 code

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoAdd AT45DBxx1D driver
Keith Packard [Sat, 9 Jan 2010 09:22:06 +0000 (01:22 -0800)]
Add AT45DBxx1D driver

This driver supports the AT45DB011D through AT45DB321D DataFlash
parts as found in TeleMetrum v0.2

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRemove dbg driver code from telemetrum/teledongle
Keith Packard [Sun, 20 Dec 2009 04:32:18 +0000 (20:32 -0800)]
Remove dbg driver code from telemetrum/teledongle

The only board with debug outputs is the TI dongle at this point, so
the debug modules were disabled in TM and TD some time
ago. Unfortunately, the code was not removed then.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoEnsure that ao_alarm waits at least the specified time
Keith Packard [Sat, 19 Dec 2009 23:31:36 +0000 (15:31 -0800)]
Ensure that ao_alarm waits at least the specified time

Because the timer tick may happen soon, it's important to delay by
another tick to ensure that we don't wake up early.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoDisable monitor mode before attempting radio test.
Keith Packard [Sat, 19 Dec 2009 22:03:11 +0000 (14:03 -0800)]
Disable monitor mode before attempting radio test.

If monitor mode is left active, then the radio lock will not be able
to be acquired for the radio test.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+60+g10d1bbc
Bdale Garbee [Sat, 19 Dec 2009 20:53:38 +0000 (13:53 -0700)]
update changelogs for Debian build

9 years agoUse ao_radio_get/ao_radio_put in packet code.
Keith Packard [Sat, 19 Dec 2009 19:34:16 +0000 (11:34 -0800)]
Use ao_radio_get/ao_radio_put in packet code.

The ao_radio_get function both acquires the mutex *and* configures the
radio channel and frequency. Failing to use this in the packet code
would leave the radio frequency unconfigured.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+58+gbbb152c
Bdale Garbee [Sat, 19 Dec 2009 19:15:29 +0000 (12:15 -0700)]
update changelogs for Debian build

9 years agoupdate changelogs for Debian build debian/0.6+57+g7ac8efe
Bdale Garbee [Sat, 19 Dec 2009 19:05:40 +0000 (12:05 -0700)]
update changelogs for Debian build

9 years agoAdd --cal to man page
Keith Packard [Wed, 16 Dec 2009 07:58:29 +0000 (23:58 -0800)]
Add --cal to man page

9 years agoAllow radio calibration to be set from ao-load
Keith Packard [Sun, 6 Dec 2009 03:50:38 +0000 (19:50 -0800)]
Allow radio calibration to be set from ao-load

This moves the initial radio calibration value into const memory where
it will be used if no eeprom configuration value is available, either
on an unprogrammed board with eeprom or a device without an eeprom.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRe-order config values. Change frequency to cal
Keith Packard [Sat, 5 Dec 2009 23:36:12 +0000 (15:36 -0800)]
Re-order config values. Change frequency to cal

Place more often used values at top, and consistently call the radio
value 'calibration' instead of 'frequency'.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+53+gcd49847
Bdale Garbee [Sat, 5 Dec 2009 18:03:42 +0000 (11:03 -0700)]
update changelogs for Debian build

9 years agoAdd radio calibration configuration.
Keith Packard [Sat, 5 Dec 2009 07:38:26 +0000 (23:38 -0800)]
Add radio calibration configuration.

The crystal we use is only good for 20ppm, which generates a fairly
significant error bounds at our RF frequency. This commit adds a
configuration variable that sets the RF frequency control variable so
that the output frequency can be adjusted.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoMake ao_cmd_decimal produce both 32 and 16 bit values.
Keith Packard [Sat, 5 Dec 2009 07:36:54 +0000 (23:36 -0800)]
Make ao_cmd_decimal produce both 32 and 16 bit values.

ao_cmd_lex_u32 is produced in addition to ao_cmd_lex_i so that
functions can easily read 32-bit values from the command line.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoRemove send_serial and serial_baud commands.
Keith Packard [Sat, 5 Dec 2009 07:35:40 +0000 (23:35 -0800)]
Remove send_serial and serial_baud commands.

No longer useful, and they take up space.

Signed-off-by: Keith Packard <keithp@keithp.com>
9 years agoupdate changelogs for Debian build debian/0.6+49+g9a1d7dd
Bdale Garbee [Sat, 5 Dec 2009 04:02:07 +0000 (21:02 -0700)]
update changelogs for Debian build

9 years agoChange default callsign to "N0CALL"
Keith Packard [Fri, 4 Dec 2009 22:35:39 +0000 (14:35 -0800)]
Change default callsign to "N0CALL"

9 years agoupdate changelogs for Debian build debian/0.6+47+g4053309
Bdale Garbee [Thu, 26 Nov 2009 18:18:37 +0000 (11:18 -0700)]
update changelogs for Debian build

9 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

9 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

9 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

9 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

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

9 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>
9 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>
9 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>
9 years agofix typo in comment
Bdale Garbee [Fri, 20 Nov 2009 04:43:13 +0000 (21:43 -0700)]
fix typo in comment

9 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

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

9 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

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

9 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

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

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

9 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

9 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.

9 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

9 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'

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

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

9 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

9 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