mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[server] extract airspeed from AIR_DATA message. (#2914)
This commit is contained in:
@@ -240,6 +240,8 @@ let log_and_parse = fun ac_name (a:Aircraft_server.aircraft) msg values ->
|
||||
a.agl <- a.alt -. (try float (Srtm.of_wgs84 a.pos) with _ -> a.ground_alt)
|
||||
| "AIRSPEED" ->
|
||||
a.airspeed <- fvalue "airspeed"
|
||||
| "AIR_DATA" ->
|
||||
a.airspeed <- fvalue "airspeed"
|
||||
| "DESIRED" ->
|
||||
(* Trying to be compatible with old logs ... *)
|
||||
begin match a.nav_ref with
|
||||
|
||||
Reference in New Issue
Block a user