Use ao_radio_get/ao_radio_put in packet code.
[fw/altos] / ChangeLog
index 3ef8d79761b6ef6ff81f52c14ac5d4f5ac588157..25cf7f17716925e2fb169f5ea0e0e8be8063c9c8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,553 @@
+commit bbb152c712801653374a8f82869e2e8bf41f7279
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Sat Dec 19 12:05:40 2009 -0700
+
+    update changelogs for Debian build
+
+commit 7ac8efea5d60b81adccdc1e38ac4c13facfae7c9
+Author: Keith Packard <keithp@keithp.com>
+Date:   Tue Dec 15 23:58:29 2009 -0800
+
+    Add --cal to man page
+
+commit 5481082b18226a0de6b377215b3b330bdbc4a6c6
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Dec 5 19:50:38 2009 -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>
+
+commit 46f03ab3145a61139c8ca6fc99e8f2798728b5a9
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Dec 5 15:36:12 2009 -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>
+
+commit bf29a62532fec12e6af2d2f3a6624882c863e933
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Sat Dec 5 11:03:42 2009 -0700
+
+    update changelogs for Debian build
+
+commit cd49847f3125df1733f298b56a43e8027ab5ce05
+Author: Keith Packard <keithp@keithp.com>
+Date:   Fri Dec 4 23:38:26 2009 -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>
+
+commit c671a3f31f54715284beef5baa4a72ca922e4018
+Author: Keith Packard <keithp@keithp.com>
+Date:   Fri Dec 4 23:36:54 2009 -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>
+
+commit e6d6ad66ce177eb6e49eaa04b1ecc6426f4bbdbf
+Author: Keith Packard <keithp@keithp.com>
+Date:   Fri Dec 4 23:35:40 2009 -0800
+
+    Remove send_serial and serial_baud commands.
+    
+    No longer useful, and they take up space.
+    
+    Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit ce7325cefbbe91054c1e8174cf40a6c687f6694b
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Fri Dec 4 21:02:07 2009 -0700
+
+    update changelogs for Debian build
+
+commit 9a1d7dd78c07d18954ef620b6ed25d6701df21e2
+Author: Keith Packard <keithp@keithp.com>
+Date:   Fri Dec 4 14:35:39 2009 -0800
+
+    Change default callsign to "N0CALL"
+
+commit 291e2004e77debdc1543912cf11043c849305de8
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Thu Nov 26 11:18:37 2009 -0700
+
+    update changelogs for Debian build
+
+commit 40533095a96b6c6364eebdc4b7d53c4eabe72e9a
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Thu Nov 26 11:16:04 2009 -0700
+
+    update changelogs for Debian build
+
+commit ab1075e7219b02258c1613d93379582be4168947
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Thu Nov 26 11:15:13 2009 -0700
+
+    change home URL in control file to be the AltOS page
+
+commit d34dcc5f3616e59ee90ed172770fe2a3eb1e0cac
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Thu Nov 26 10:40:07 2009 -0700
+
+    fix absolute path in debian/dirs, add Suggests for slim-altusmetrum
+
+commit ea40561b36519a5dcabedabe18672b79ea5e9993
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Sun Nov 22 10:18:44 2009 -0700
+
+    update changelogs for Debian build
+
+commit d6ba07e885bdc62ba64719c9d8cc42fcecbcb09d
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sun Nov 22 01:10:44 2009 -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>
+
+commit 06cebd1026dc1bd6ee51526fa2d02905df3b3b37
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sun Nov 22 00:52:58 2009 -0800
+
+    ao-postflight: don't try to use missing gps sat data
+    
+    Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit a9ada1b538af3308e1b22bd024d9204521184173
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 22:12:21 2009 -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>
+
+commit b84b634d9ae8ce6ab1c02833a3ed8514404e1ca3
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 22:11:45 2009 -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>
+
+commit 2d77c18b15834046b7b79d49d87211828f2409e9
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 21:10:09 2009 -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>
+
+commit 1e7fb61700f1f6f2ed5fdbc4380d7187b0cd187b
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 21:09:03 2009 -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>
+
+commit 199f0cecae22645140185238682b9e1aba0e5715
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 20:36:20 2009 -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>
+
+commit 238d03462a56dc1b7c871608cb00f961a88c1b97
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 20:35:22 2009 -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>
+
+commit 1a3b4c02a01187f8b7b9a9c97712476d0007ab35
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 19:52:26 2009 -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>
+
+commit 80b23f3044a654d61212891a61fadb8a3a4e5572
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 21 18:57:45 2009 -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>
+
+commit 8f036ee7cd30ce3ed2e5cc8501914a4c19b73875
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Fri Nov 20 13:19:02 2009 -0700
+
+    update changelogs for Debian build
+
+commit 87e6f3e5c1688503ab8595912d8d6eb7139830b7
+Author: Keith Packard <keithp@keithp.com>
+Date:   Fri Nov 20 12:16:37 2009 -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>
+
+commit 8065b8146a31438e66f83c13b99281ec47439a73
+Author: Keith Packard <keithp@keithp.com>
+Date:   Fri Nov 20 11:56:48 2009 -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>
+
+commit 6894541e0ee144bfc689cc02d4ed333711d3b500
+Author: Keith Packard <keithp@keithp.com>
+Date:   Fri Nov 20 11:55:28 2009 -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>
+
+commit b75aa1c825b84bd7fa1578320fbc7e904c373a7d
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Thu Nov 19 21:43:13 2009 -0700
+
+    fix typo in comment
+
+commit c2f661b75ec035f6a3f700962290ef297f9ab0af
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Fri Nov 20 11:44:06 2009 -0700
+
+    update changelogs for Debian build
+
+commit b0d7e3f9c9322542e9b649bb6ad7f7e5bb99dffa
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sun Nov 15 16:20:18 2009 -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>
+
+commit 524665fc221b0d483453c67b7211e282cebc8980
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sun Nov 15 16:04:41 2009 -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>
+
+commit 3ee279ba76c2a79d142c466f19ef758cf4c01d70
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sun Nov 15 15:59:01 2009 -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>
+
+commit 6391c89bd5b89f5f46255b8365c658a873e5959a
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sun Nov 15 15:53:01 2009 -0800
+
+    Switch order of serial/flight in ao-postflight summary
+
+commit 9b06e294e2777f69bcf5e98789c3f5477097d53b
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sun Nov 15 15:51:58 2009 -0800
+
+    Enable telemetry receive in ao_view
+
+commit 4cffc9c4b079e39c8196ddbaf91129cda6df7f8b
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 14 22:24:37 2009 -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>
+
+commit 0e0db8ca3af4c07bae909938486766c646bf580b
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 14 22:24:09 2009 -0800
+
+    Provide a dummy 'uninstall' target in the src directory.
+    
+    Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 1c654a9369294c9b8066c33f91161d8005b96680
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 14 22:17:24 2009 -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>
+
+commit 03092d1a72a9651711e22c58dca6d6aba5705c5e
+Author: Keith Packard <keithp@keithp.com>
+Date:   Sat Nov 14 16:35:12 2009 -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>
+
+commit adf656192441eb7f44792955c86e469145477e29
+Author: Keith Packard <keithp@keithp.com>
+Date:   Thu Nov 5 22:11:59 2009 -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>
+
+commit 83afdbdc154fe013bfe35ce5ecf1d61570b04ed6
+Author: Keith Packard <keithp@keithp.com>
+Date:   Thu Nov 5 21:45:00 2009 -0800
+
+    Add reboot command.
+    
+    This resets the processor using the watchdog timer.
+    
+    Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 0358988ac0ee25a564d48af79b1c3fb0c0fe0a88
+Author: Keith Packard <keithp@keithp.com>
+Date:   Thu Nov 5 21:44:31 2009 -0800
+
+    Add Watchdog Timer Control register definitions
+    
+    Signed-off-by: Keith Packard <keithp@keithp.com>
+
+commit 4114210e0b813f4af99d0cb7755ad2ac2c4b120e
+Author: Keith Packard <keithp@keithp.com>
+Date:   Thu Nov 5 21:43:21 2009 -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>
+
+commit 5a79a04ddb0b3ee64de34e366f71a0f6db509c01
+Author: Keith Packard <keithp@keithp.com>
+Date:   Wed Nov 4 21:59:51 2009 -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>
+
+commit 843ee489aac34ad6d81f55f1c85fb9eecc42d86b
+Author: Keith Packard <keithp@keithp.com>
+Date:   Wed Nov 4 21:59:12 2009 -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>
+
+commit 036400a2db303f3db3be7cc0426f88359c6bd2b1
+Author: Keith Packard <keithp@keithp.com>
+Date:   Wed Nov 4 21:42:51 2009 -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>
+
+commit 3ece984f4d72b4f720a5efdfaad7cff77a93d676
+Author: Keith Packard <keithp@keithp.com>
+Date:   Wed Nov 4 21:32:07 2009 -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>
+
+commit bc62bb254085cc705203b57260c04ac5e14c6611
+Author: Keith Packard <keithp@keithp.com>
+Date:   Wed Nov 4 21:29:37 2009 -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>
+
+commit 27ebaf8e13aed06bb1ea6e770f767495a02be6c5
+Author: Keith Packard <keithp@keithp.com>
+Date:   Tue Nov 3 01:27:37 2009 -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>
+
+commit 1de322b960005c9a16051afa1881fadb00f4bcd6
+Author: Keith Packard <keithp@keithp.com>
+Date:   Tue Nov 3 00:40:38 2009 -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>
+
+commit b529e5e8998702986909111a457f3ce9932e1ccf
+Author: Keith Packard <keithp@keithp.com>
+Date:   Mon Nov 2 23:48:29 2009 -0800
+
+    ao_flight_test was using accel value for pressure too
+
+commit f57bea012d4fbca097df0d98fcd30eb4abd9701a
+Author: Keith Packard <keithp@keithp.com>
+Date:   Mon Nov 2 21:47:41 2009 -0800
+
+    Reformat ADC values to show all 16 bits
+
+commit 79718e798e96567f0ba11c61f187e432fdcf95ee
+Author: Keith Packard <keithp@keithp.com>
+Date:   Mon Nov 2 21:48:16 2009 -0800
+
+    Remove "f" command
+
+commit a4137263b69864c524d39c6ff88a0225fd06e79b
+Author: Keith Packard <keithp@keithp.com>
+Date:   Mon Nov 2 21:47:15 2009 -0800
+
+    Remove "d" command
+
+commit 47f510464907d2b9488109c96ade87a41d878842
+Author: Keith Packard <keithp@keithp.com>
+Date:   Mon Nov 2 21:46:39 2009 -0800
+
+    Remove "l" command as ao-dumplong no longer uses it
+
+commit 144db05f6b286a0450d486f69ce192632a2c0656
+Author: Keith Packard <keithp@keithp.com>
+Date:   Mon Nov 2 21:38:18 2009 -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.
+
+commit 17611788aadc9460287145a340a7c18bf63766aa
+Author: Bdale Garbee <bdale@gag.com>
+Date:   Mon Nov 2 16:54:06 2009 -0700
+
+    update changelogs for Debian build
+
 commit 7db9d86178ecfd58cc1c17ac9fcbdcfd2f13aaec
 Merge: b219801 f9de200
 Author: Keith Packard <keithp@keithp.com>