summaryrefslogtreecommitdiff
path: root/src/ao_log_tiny.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-03-22 05:42:51 +0900
committerKeith Packard <keithp@keithp.com>2011-03-22 05:42:51 +0900
commit7b009b2efe3af8722c358c304c2243652594e0d5 (patch)
tree94e196faeaa24504b534d7ab0363a28489216b21 /src/ao_log_tiny.c
parent20427ae4965f756aac0cedc5179a1c45b9a781f2 (diff)
altos: Switch telemetrum over to kalman filter
This changes the full telemetry stream to include kalman data instead of the old ad-hoc flight data. It's compatible in that the packet sizes are the same so teledongle can receive either and figure out which it has received. A few plotting and testing tools are added to make validating the new code easier. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_log_tiny.c')
-rw-r--r--src/ao_log_tiny.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ao_log_tiny.c b/src/ao_log_tiny.c
index fad2a242..f0c0662a 100644
--- a/src/ao_log_tiny.c
+++ b/src/ao_log_tiny.c
@@ -69,7 +69,7 @@ ao_log(void)
if (ao_log_tiny_state == ao_flight_landed)
ao_log_stop();
}
- ao_log_tiny_data(ao_k_height >> 16);
+ ao_log_tiny_data(ao_height);
time += ao_log_tiny_interval;
delay = time - ao_time();
if (delay > 0)