From 22f04d0940579dd000da4ef628d08ca6ee05ef23 Mon Sep 17 00:00:00 2001 From: Gautier Hattenberger Date: Fri, 11 Sep 2009 11:56:22 +0000 Subject: [PATCH] flight time for booz --- sw/ground_segment/tmtc/booz_server.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/ground_segment/tmtc/booz_server.ml b/sw/ground_segment/tmtc/booz_server.ml index 4d15b2a160..5d345f08e9 100644 --- a/sw/ground_segment/tmtc/booz_server.ml +++ b/sw/ground_segment/tmtc/booz_server.ml @@ -165,8 +165,8 @@ let log_and_parse = fun ac_name (a:Aircraft.aircraft) msg values -> a.pitch <- foi32value "theta" /. angle_frac; a.throttle <- foi32value "thrust" /. 2.; (* thrust / 200 * 100 *) (*a.unix_time <- LL.unix_time_of_tow (truncate (fvalue "itow" /. 1000.)); - a.itow <- Int32.of_float (fvalue "itow"); - a.flight_time <- ivalue "flight_time";*) + a.itow <- Int32.of_float (fvalue "itow");*) + a.flight_time <- ivalue "flight_time"; if a.gspeed > 3. && a.ap_mode = _AUTO2 then Wind.update ac_name a.gspeed a.course | "BOOZ_STATUS" ->