mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
flight time for booz
This commit is contained in:
@@ -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" ->
|
||||
|
||||
Reference in New Issue
Block a user