summaryrefslogtreecommitdiff
path: root/ao-tools
Commit message (Collapse)AuthorAge
* Pull in a bit more data for filtering the start of the boostKeith Packard2010-02-11
|
* Compute daytime using GPS as time baseKeith Packard2010-02-11
|
* Switch to using internal cc1111 temperature sensorKeith Packard2010-01-10
| | | | | | | | 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>
* Add --cal to man pageKeith Packard2009-12-15
|
* Allow radio calibration to be set from ao-loadKeith Packard2009-12-05
| | | | | | | | 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>
* Automatically extract flight number for eeprom and telem filenames.Keith Packard2009-11-22
| | | | | | | | | | | | 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>
* ao-postflight: don't try to use missing gps sat dataKeith Packard2009-11-22
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-postflight: compute barometric alt for each GPS positionKeith Packard2009-11-21
| | | | | | | | 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>
* Don't crash if --plot isn't passed on ao-postflight command lineKeith Packard2009-11-21
| | | | | | Crashing is not nice. Signed-off-by: Keith Packard <keithp@keithp.com>
* Convert telemetry file GPS satellite information in cc_log_readKeith Packard2009-11-21
| | | | | | | 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>
* Fix --plot arg handling. Add -all option.Keith Packard2009-11-21
| | | | | | | | | 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>
* Make ao-postflight create filenames using input filenames.Keith Packard2009-11-21
| | | | | | | 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>
* Document ao-postflight --gps and --kml options.Keith Packard2009-11-21
| | | | | | These were missing from the man page, but included in the --help output. Signed-off-by: Keith Packard <keithp@keithp.com>
* Eliminate SiRF state values from ao-view.Keith Packard2009-11-20
| | | | | | | With Skytraq not having any visible GPS state information, just remove this from the display. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add GPS date/time output to ao-postflight.Keith Packard2009-11-20
| | | | | | | 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>
* Stop using SiRF state info.Keith Packard2009-11-15
| | | | | | | | 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>
* Add date to GPS data, captured from GPRMC packet.Keith Packard2009-11-15
| | | | | | | 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>
* Add flight number to telemetry stream.Keith Packard2009-11-15
| | | | | | | | 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>
* Switch order of serial/flight in ao-postflight summaryKeith Packard2009-11-15
|
* Enable telemetry receive in ao_viewKeith Packard2009-11-15
|
* Share telemetry parsing code in cc library.Keith Packard2009-11-14
| | | | | | | | 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>
* ao-postflight: fix sloppy gps sat data realloc code (was crashing).Keith Packard2009-11-14
| | | | | | | 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>
* Stop recording in ao-dumplog after receiving an invalid blockKeith Packard2009-11-04
| | | | | | If no samples in a block are valid, assume the flight log is over. Signed-off-by: Keith Packard <keithp@keithp.com>
* Flush pending input when switching to remote packet modeKeith Packard2009-11-04
| | | | | | | 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>
* Add ability to dump eeprom data over radio link.Keith Packard2009-11-03
| | | | | | | | 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>
* Pass accel calibration over telemetry stream. Telemetry data format change.Keith Packard2009-11-03
| | | | | | | | | | | 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>
* Add keyhole-markup generation for ao-postflight.Keith Packard2009-10-21
| | | | | | This lets you see the flight path in googleearth. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-dumplog: switch to 'e' command, display progressKeith Packard2009-10-10
| | | | | | | | | | 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>
* Add channel menu to ao-view.Keith Packard2009-10-10
| | | | | | | Sets radio channel when TD is connected, saves selected channel in gconf database. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-view: fix snd_pcm_open return checkingKeith Packard2009-10-06
| | | | | | I don't know how this code was supposed to work before... Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-postflight: dump out GPS signal dataKeith Packard2009-10-06
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* make bit-banging reset script actually resetKeith Packard2009-09-20
|
* Add --gps option to ao-postflightKeith Packard2009-09-20
|
* ao_rawload: Don't reset after we finish loadingKeith Packard2009-09-20
|
* Plot raw accel data for the motor accel section.Keith Packard2009-09-10
| | | | | | This shows a short sequence of accelerometer data without any filtering. Signed-off-by: Keith Packard <keithp@keithp.com>
* Show acceleration only during boost phase.Keith Packard2009-09-06
| | | | | | | We're interested in motor performance; the rest of the flight is boring, after all. Signed-off-by: Keith Packard <keithp@keithp.com>
* 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>
* Update usage and man page for ao-postflightKeith Packard2009-09-06
|
* 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>
* Don't look at NULL strings (summary_name)Keith Packard2009-09-06
| | | | 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>
* Initialize summary_name and detail_name so stuff appears on stdout.Keith Packard2009-09-06
| | | | | | Uninitialized variables lead to mysterious results. 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>
* Add --device/-D support to the command line tools and manualsKeith Packard2009-09-04
| | | | | | | 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>
* '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>
* Add 'ao-list' utility to show attached AltOS devicesKeith Packard2009-09-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>