Use autotools, move altos to src subdir Signed-off-by: Keith Packard <keithp@keithp.com>
Eliminate RDF tone generation. 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>
Parse both telemetry or log data ao_flight_test Change the way data is fed from files to the flight test rig to handle either kind of input file. Signed-off-by: Keith Packard <keithp@keithp.com>
Make ao_flight_test show AGL altitude and positive acceleration under boost This makes the output more readable Signed-off-by: Keith Packard <keithp@keithp.com>
Make ao_flight_test able to read raw logging data Protect ao_flight_test reading functions so that a simple 'script' output can be fed to the program and have it work correctly. Signed-off-by: Keith Packard <keithp@keithp.com>
Use recorded accelerometer baseline data in ao_flight_test With the flight computer recording a long-term average value for the accelerometer in the flight record, use that to prime the flight test code when running a log file through the simulator. Signed-off-by: Keith Packard <keithp@keithp.com>
Use 'char' instead of 'uint8_t' for character data String and character constants are of char type, so using uint8_t causes promotion to 16-bit types when comparing the two.
Add configuration support 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. 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.
Display data with units while running simulation
Update flight algorithm based on data collected from SN-1 Flight 1 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 algorithm