summaryrefslogtreecommitdiff
path: root/ao_flight.c
Commit message (Collapse)AuthorAge
* 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 configuration supportKeith Packard2009-04-26
| | | | | | | | | | | Current config variables: Main deploy altitude above launch (in meters) Acceleration zero g calibration (manual or automatic) Radio channel (freq = 435.550MHz + channel * 100kHz) Callsign (max 8 characters) Supporting this involved shuffling code around so that the non-telemetrum builds could include only the stuff they needed.
* Allow for slower ADC operation. Add power saving code.Keith Packard2009-04-25
| | | | | | This tries to make the flight computer use less power by disabling USB in flight mode, lowering the telemetry rate after ascent. It also disables the RDF beacon during ascent and re-enables it once descent has started.
* Enabling apogee detect via speed: < 200m/s && < max_speed - 50m/sKeith Packard2009-04-24
| | | | | | | | | This change ensures that we actually got going fairly fast, and then slowed down a bunch before enabling apogee detect. Otherwise, we'll detect apogee right off the pad as we're not going very fast at that point... This also adds the 'f' command to show the current flight status on the USB port.
* Update flight algorithm based on data collected from SN-1 Flight 1Keith Packard2009-04-24
| | | | | | | | This now correctly sequences through the flight data collected from the first TeleMetrum test flight. This also completes up the flight algorithm test harness (ao_flight_test), which runs the flight algorithm on the Linux host from a captured data log.
* Add igniters and update flight control algorithmKeith Packard2009-04-24
|
* 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>
* use red LED to indicate system startupKeith Packard2009-04-14
|
* 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>