summaryrefslogtreecommitdiff
path: root/src/test/Makefile
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/test/Makefile
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/test/Makefile')
-rw-r--r--src/test/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/test/Makefile b/src/test/Makefile
index 853713fa..433f749b 100644
--- a/src/test/Makefile
+++ b/src/test/Makefile
@@ -1,6 +1,7 @@
vpath % ..
+vpath % ../kalman
-PROGS=ao_flight_test ao_flight_test_baro ao_gps_test ao_gps_test_skytraq ao_convert_test
+PROGS=ao_flight_test ao_flight_test_baro ao_flight_test_accel ao_gps_test ao_gps_test_skytraq ao_convert_test
CFLAGS=-I.. -I.
@@ -11,12 +12,15 @@ clean:
install:
-ao_flight_test: ao_flight_test.c ao_host.h ao_flight.c altitude.h
+ao_flight_test: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
cc -g -o $@ $<
-ao_flight_test_baro: ao_flight_test.c ao_host.h ao_flight.c altitude.h
+ao_flight_test_baro: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
cc -g -o $@ -DHAS_ACCEL=0 ../ao_flight_test.c
+ao_flight_test_accel: ao_flight_test.c ao_host.h ao_flight.c altitude.h ao_kalman.h
+ cc -g -o $@ -DFORCE_ACCEL=1 ../ao_flight_test.c
+
ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h
cc -g -o $@ $<
@@ -25,3 +29,6 @@ ao_gps_test_skytraq: ao_gps_test_skytraq.c ao_gps_skytraq.c ao_gps_print.c ao_ho
ao_convert_test: ao_convert_test.c ao_convert.c altitude.h
cc -g -o $@ $<
+
+../ao_kalman.h: make-kalman kalman.5c kalman_filter.5c load_csv.5c matrix.5c
+ sh $< > $@