mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-08 02:15:53 +08:00
gps accuracy for booz server
This commit is contained in:
@@ -175,6 +175,8 @@ let log_and_parse = fun ac_name (a:Aircraft.aircraft) msg values ->
|
||||
a.ap_mode <- check_index (get_pprz_mode (ivalue "ap_mode")) ap_modes "BOOZ_AP_MODE";
|
||||
a.kill_mode <- ivalue "ap_motors_on" == 0;
|
||||
a.bat <- fvalue "vsupply" /. 10.;
|
||||
| "BOOZ2_GPS" ->
|
||||
a.gps_Pacc <- ivalue "Pacc"
|
||||
| "BOOZ2_INS_REF" ->
|
||||
let x = foi32value "ecef_x0" /. 100.
|
||||
and y = foi32value "ecef_y0" /. 100.
|
||||
|
||||
Reference in New Issue
Block a user