summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | | | | | | | | | | | 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>
* | | | | | | | | | | | Add ao_wake_task and ao_exitKeith Packard2009-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ao_wake_task signals a specific task to wake up. ao_exit terminates the current task. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | | | | | | | | | Save some DSEG space by marking cmd functions __reentrantKeith Packard2009-10-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __reentrant causes the compiler to place args and locals on the stack instead of in the data segment. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | | | | | | | | | Merge branch 'master' into skytraqKeith Packard2009-10-10
|\ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | |
| * | | | | | | | | | | Add apogee igniter delay.Keith Packard2009-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide for a delay after apogee before the drogue charge is fired. This allows TM to be used as a back-up altimeter. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | | | | | | | | | Merge branch 'master' into skytraqKeith Packard2009-10-10
|\| | | | | | | | | | |
| * | | | | | | | | | | Report igniter continuity in pad/idle mode via beeperKeith Packard2009-10-10
| | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one short beep = drogue two short beeps = main three short beeps = both one long warble = neither In idle mode, it does this just once. In pad mode, it keeps testing and reporting. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | | | | | | | | Merge branch 'master' into skytraqKeith Packard2009-10-10
|\| | | | | | | | | |
| * | | | | | | | | | 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>
* | | | | | | | | | | Merge branch 'master' into skytraqKeith Packard2009-10-10
|\| | | | | | | | | |
| * | | | | | | | | | Send 0-length IN packet to flush USB after full packetKeith Packard2009-10-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB bulk transfers are a sequence of maximum-sized packets followed by a short packet, which signals the end of the transfer. When the last packet of the transfer would be a full-sized packet, an additional packet of zero length is sent to signal the transfer end. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | | | | | | | | Merge branch 'master' into skytraqKeith Packard2009-10-10
|\| | | | | | | | | |
| * | | | | | | | | | 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>
* | | | | | | | | | | Build two versions of TM, one for SiRF, one for SkyTraqKeith Packard2009-10-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This creates two separate images, depending on which GPS unit is connected. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | | | | | | | | Add support for the SkyTraq GPS unitKeith Packard2009-10-09
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a build-time option selected by hacking the Makefile at present. 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
| |_|_|_|_|_|/ |/| | | | | |
* | | | | | | Use plplotd instead of plplotd-gnome2Keith 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>
* 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>
* Set all of the values to reset the radio for telemetryKeith Packard2009-09-04
| | | | | | | | | | Was sizeof(rdf_setup) instead of sizeof(telemetry_setup) when resetting the radio back to telemetry data mode from rdf mode. With the length value removed from the rdf config, these two arrays are no longer the same length, and so the last config value was not set leaving the radio sending garbage. Signed-off-by: Keith Packard <keithp@keithp.com>
* Make RDF beacon only run on pad and after landing.Keith Packard2009-09-04
| | | | | | | | | | | | It's pretty much impossible to RDF the rocket during flight, and it interferes with the telemetry data stream. Leave it enabled on the pad so that radios can be tested, and then re-enable it once the rocket has landed. This patch also turns the rdf 'on' time into a parameter so it can be changed, and then sets that parameter to 500ms, once every 5 seconds. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add back the RDF tone generatorKeith Packard2009-09-04
| | | | | | | | | Tracking the rocket on the ground may be easier using tones than using the digital data stream, so we'll try that and see what we think. This reverts commit 3a3bfd471a868d546d83cdc431b53c8f5208edb9. Signed-off-by: Keith Packard <keithp@keithp.com>
* update changelogs for Debian buildBdale Garbee2009-09-02
|
* Merge commit 'origin/master'Bdale Garbee2009-09-02
|\
| * Remove bit-banging debug support from TM board buildsKeith Packard2009-09-02
| | | | | | | | | | | | | | | | | | Our current TM boards don't have the wires to do bit-banging to another cc1111 board, so it doesn't make sense to fill up their flash with useless code (and the 'help' text with useless commands). Leave this to the TI board until we have boards that can serve as debug dongles. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Make the ao_log_record structures 8 bytes again.Keith Packard2009-09-02
| | | | | | | | | | | | | | | | | | When the GPS signal strength data was added, the structure was accidentally extended to 9 bytes, making all log records 9 bytes long. While not a serious problem, this left log records spanning across eeprom block boundaries, which seems like a bad plan. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Make eeprom reads and writes across block boundary workKeith Packard2009-09-02
| | | | | | | | | | | | | | | | | | Reading and writing across the block boundary was not stepping the eeprom position after the partial i/o operation at the end of the first block. This meant that the operation would re-use the end of the previous block, either re-reading or re-writing it. Signed-off-by: Keith Packard <keithp@keithp.com>
| * Enable GPS degraded mode, set 10 sec degraded timeout.Keith Packard2009-08-22
| | | | | | | | | | | | | | No reason not to let the GPS report solutions whenever it likes, let's see how this works. Signed-off-by: Keith Packard <keithp@keithp.com>
* | update changelogs for Debian buildBdale Garbee2009-08-31
| |
* | pixmap file should not be executableBdale Garbee2009-08-31
| |