summaryrefslogtreecommitdiff
path: root/ao_log.c
Commit message (Collapse)AuthorAge
* Use autotools, move altos to src subdirKeith Packard2009-06-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Stop log dumping at flight end. Print 'end' at end of log.Keith Packard2009-06-03
| | | | | | | | | No reason to continue dumping data past the end of the flight now that the logging stuff has been demonstrated to work reliably. Also, to make automated log dumping easier, this prints out 'end' after the log data so that aoview knows when to stop reading. Signed-off-by: Keith Packard <keithp@keithp.com>
* When logging starts up, right the whole ring to the log.Keith Packard2009-05-16
| | | | | | This preserves the data pre boost-detect for later analysis. Signed-off-by: Keith Packard <keithp@keithp.com>
* Record average accelerometer value in flight start log recordKeith Packard2009-05-10
| | | | | | | | | The average accelerometer value cannot be extracted from the log as the record starts after that is computed. As that drives much of the accelerometer-based state transition logic, it is an important value to have, so we log it as part of the flight start record now. Signed-off-by: Keith Packard <keithp@keithp.com>
* Make sure full log is written and flushed on landing.Keith Packard2009-04-26
| | | | | | The final state change to landing is recorded in the logging thread, so have that turn off logging once it has recorded that state. Then make it go to sleep.
* Add igniters and update flight control algorithmKeith Packard2009-04-24
|
* Fix up fancy dbg stuff. Add teleterra initial bits.Keith Packard2009-04-21
| | | | | | | | | The dbg stuff needed a bit of help to actually walk the tables; it appears that complex expressions confuse sdcc. This also adds primitive teleterra bits, but no UI, etc. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add radio support. Build separate executables for TeleMetrum and the TI dongleKeith Packard2009-04-20
| | | | | | | | | Ok, way too big a patch, but things were in rough shape. This patch adds support for the radio, both transmit and receive. Then, because I could no longer run the TeleMetrum code on the TI dongle, I ended up building a separate image for the TI board, which involved creating a mechanism for having multiple command sets and splitting code for different functions into different files.
* Add task names and 'T' command to show task status.Keith Packard2009-04-18
| | | | The T command shows the current wchan and PC for each task in the system.
* Fix GPL version at 2Keith Packard2009-04-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add gps, debug dongle support and pressure alt tablesKeith Packard2009-04-17
| | | | | | | | GPS also pulled in serial support. The altitude tables take raw 11-bit pressure sample numbers and convert them to standard pressure altitude values. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move a bunch of variables from __data to __xdataKeith Packard2009-04-15
|
* Add in existing flight pieces: flight/report/logKeith Packard2009-04-14
These pieces come from the old telemetrum firmware. Signed-off-by: Keith Packard <keithp@keithp.com>