summaryrefslogtreecommitdiff
path: root/ao-tools/lib
Commit message (Collapse)AuthorAge
* Add --gps option to ao-postflightKeith Packard2009-09-20
|
* Fix cc_period_make to not get stuck on samples with matching timeKeith Packard2009-09-06
| | | | | | | 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>
* Color plots, integrate only flight portion of data.Keith Packard2009-09-06
| | | | | | | | | | | 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>
* Add plots to ao-postflight using the plplot libraryKeith Packard2009-09-06
| | | | | | It's not perfect, but it generates .svg plot output. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use pressure speed for drogue and beyond states. Fix differentiation time.Keith Packard2009-09-06
| | | | | | | | Drogue state should always use pressure speeds. Differentiation code was using centi-seconds instead of seconds. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add DSP code to filter data, allowing for integration/differentiationKeith Packard2009-09-06
| | | | | | | | 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>
* Handle vageries of .telem files in ao-postflightKeith Packard2009-09-05
| | | | | | | 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>
* Add simple post-flight analysis tool (ao-postflight)Keith Packard2009-09-05
| | | | | | | 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>
* Add ao-dumplog to capture flight log from command lineKeith Packard2009-09-05
| | | | | | | 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>
* 'fix' ao-eeprom to read two blocks at once. Work around kernel bugs.Keith Packard2009-09-04
| | | | | | | 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>
* Parse the USB serial number as an integer.Keith Packard2009-09-04
| | | | | | | 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>
* Move usb scanning code to ao-tools libraryKeith Packard2009-09-04
| | | | | | | | | | 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>
* Use --tty/-T on command line to specify target deviceKeith Packard2009-08-18
| | | | | | | | Also, use the ALTOS_TTY environment variable in all tools. Note that the magic value of "BITBANG" switches the library to connecting through a CP2103 instead. Signed-off-by: Keith Packard <keithp@keithp.com>
* Rename tools to ao-<foo>Keith Packard2009-08-18
Use a consistent prefix to make it easier to remember which programs belong to this package Signed-off-by: Keith Packard <keithp@keithp.com>