3 DIR=~/misc/rockets/flights
10 while read flight description; do
11 if ./ao_flight_test_baro -s -i "$description" $DIR/$flight; then
16 if ./ao_flight_test -s -i "$description" $DIR/$flight; then
22 echo baro errors $bad_baro expected $expect_baro
23 echo full errors $bad_full expected $expect_full
24 : $((miss_baro = bad_baro > expect_baro ? bad_baro - expect_baro : expect_baro - bad_baro))
25 : $((miss_full = bad_full > expect_full ? bad_full - expect_full : expect_full - bad_full))
26 : $((miss = miss_baro + miss_full))