summaryrefslogtreecommitdiff
path: root/ao.h
Commit message (Collapse)AuthorAge
* Use autotools, move altos to src subdirKeith Packard2009-06-04
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Start adding bi-directional packet linkKeith Packard2009-05-31
|
* Eliminate RDF tone generation.Keith Packard2009-05-28
| | | | | | | Now that we have a viable telemetry-signal based RDF device via TeleDongle, there's no reason to continue to waste power and bandwidth with a NFM tone. Signed-off-by: Keith Packard <keithp@keithp.com>
* Transmit computed ground pressure and acceleration values0.4Keith Packard2009-05-17
| | | | | | | | | These are the last two values relevant to figuring out the state of the flight computer, and as they are computed by averaging 10 seconds of 100Hz sample data, they're a lot more accurate than anything the receiver could do on its own. Signed-off-by: Keith Packard <keithp@keithp.com>
* Send computed accel/vel/pres values over the radio0.3Keith Packard2009-05-17
| | | | | | | | These computed values reflect what the flight computer is actually refering to for state changes, and will be useful in debugging the flight software as well as provide a filtered view of the data. Signed-off-by: Keith Packard <keithp@keithp.com>
* Enable radio monitor by default in teleterra, teledongle and tidongleKeith Packard2009-05-13
| | | | | | | These ground loads want to monitor the radio constantly, and not require use of the 'm' command before listening. Signed-off-by: Keith Packard <keithp@keithp.com>
* Indicate RSSI with a blinking LEDKeith Packard2009-05-13
| | | | | | Blink the red LED at a rate proportional to the RSSI value. Signed-off-by: Keith Packard <keithp@keithp.com>
* Decrease telemetry rate on the pad to 1/sec instead of 20/secKeith Packard2009-05-10
| | | | | | | | Transmitting telemetry through the radio consumes a significant amount of battery; reducing the rate to 1/sec will reduce power usage while waiting for launch. 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>
* Add version command to show product informationKeith Packard2009-05-09
|
* Use 'char' instead of 'uint8_t' for character dataKeith Packard2009-04-29
| | | | | String and character constants are of char type, so using uint8_t causes promotion to 16-bit types when comparing the two.
* Label binaries with product and serial infoKeith Packard2009-04-26
|
* 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.
* Add RDF beacon and callsign to telemetryKeith Packard2009-04-25
|
* Add radio code to emit a 1kHz toneKeith Packard2009-04-25
|
* Allow the USB system to be disabled/enabled at run-timeKeith Packard2009-04-25
|
* Make LED usage depend on target deviceKeith Packard2009-04-25
|
* Make some functions reentrant to save DSEG spaceKeith Packard2009-04-25
|
* Define ao_state_names in ao.h so other people can shareKeith Packard2009-04-24
|
* 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
|
* Avoid ram from 0xfda2 through feff, its funkyKeith Packard2009-04-24
|
* Clean up telemetry now that all packets are the sameKeith Packard2009-04-21
|
* 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.
* Parse GPS data locally. Add 'g' command to display recent GPS results.Keith Packard2009-04-18
| | | | | This parses the GPS GGA message and stores it in a global variable, protected by a mutex.
* 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.
* 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
|
* Make mutex functions reentrantKeith 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>
* Add eeprom driver and command loopKeith Packard2009-04-14
| | | | | | This involved adding dma control and a mutex implementation. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch from --model-large to --model-smallKeith Packard2009-04-14
| | | | | | This shrinks the application quite a bit, and should make it faster as well. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add comments, clean up white space, etc.Keith Packard2009-04-14
| | | | | | Various clean ups now that the basic code appears to work. Signed-off-by: Keith Packard <keithp@keithp.com>
* USB working up through reading stringsKeith Packard2009-04-13
|
* Add USB support.Keith Packard2009-04-13
| | | | | | This offers a single CDC ACM device over USB. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add beep/led support.Keith Packard2009-04-12
| | | | | | Support our P2_0 connected buzzer, and formalize LED output support. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add A/D samplerKeith Packard2009-04-12
| | | | | | | Sample A/D at the timer tick, placing data in a ring of samples. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add 100Hz timerKeith Packard2009-04-12
| | | | Use Timer 1 to generate a 100Hz timer interrupt
* GPL Version 2 onlyKeith Packard2009-04-12
|
* Initial AltOS importKeith Packard2009-04-12