flight time for booz

This commit is contained in:
Gautier Hattenberger
2009-09-11 11:56:22 +00:00
parent 573d6f8c62
commit 22f04d0940
+2 -2
View File
@@ -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" ->