mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 12:23:23 +08:00
[paparazzi center] start link with NPS simulator session
and remove the old jsbsim option
This commit is contained in:
@@ -202,7 +202,6 @@ let supervision = fun ?file gui log (ac_combo : Gtk_tools.combo) (target_combo :
|
|||||||
let get_args = fun simtype ac_name ->
|
let get_args = fun simtype ac_name ->
|
||||||
match simtype with
|
match simtype with
|
||||||
"sim" -> sprintf "-a %s -t %s --boot --norc" ac_name simtype
|
"sim" -> sprintf "-a %s -t %s --boot --norc" ac_name simtype
|
||||||
| "jsbsim" -> sprintf "-a %s -t %s" ac_name simtype
|
|
||||||
| "nps" -> sprintf "-a %s -t %s" ac_name simtype
|
| "nps" -> sprintf "-a %s -t %s" ac_name simtype
|
||||||
| _ -> "none"
|
| _ -> "none"
|
||||||
in
|
in
|
||||||
@@ -211,7 +210,9 @@ let supervision = fun ?file gui log (ac_combo : Gtk_tools.combo) (target_combo :
|
|||||||
if args <> "none" then begin
|
if args <> "none" then begin
|
||||||
run_and_monitor ?file gui log "Simulator" args;
|
run_and_monitor ?file gui log "Simulator" args;
|
||||||
run_and_monitor ?file gui log "GCS" "";
|
run_and_monitor ?file gui log "GCS" "";
|
||||||
run_and_monitor ?file gui log "Server" "-n"
|
run_and_monitor ?file gui log "Server" "-n";
|
||||||
|
if sim_type = "nps" then
|
||||||
|
run_and_monitor ?file gui log "Data Link" "-udp"
|
||||||
end
|
end
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user