From 2a371077e3cdc7fb02eeeac0f18c72d7805deb52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D1=8B=D0=BC=D0=B0=D0=BD?= Date: Tue, 25 Jun 2024 21:58:42 +0200 Subject: [PATCH] Tools: sim_vehicle.py: Added --enable-fgview option in sim_vehicle.py (by @justin-slattery) Co-authored-by: Peter Barker --- Tools/autotest/sim_vehicle.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Tools/autotest/sim_vehicle.py b/Tools/autotest/sim_vehicle.py index 80e19d40ae..0dc04098b1 100755 --- a/Tools/autotest/sim_vehicle.py +++ b/Tools/autotest/sim_vehicle.py @@ -775,6 +775,8 @@ def start_vehicle(binary, opts, stuff, spawns=None): cmd.extend(["--sysid", str(opts.sysid)]) if opts.slave is not None: cmd.extend(["--slave", str(opts.slave)]) + if opts.enable_fgview: + cmd.extend(["--enable-fgview"]) if opts.sitl_instance_args: # this could be a lot better: cmd.extend(opts.sitl_instance_args.split(" ")) @@ -1340,6 +1342,8 @@ group_sim.add_option("--enable-ppp", action='store_true', help="Enable PPP networking") group_sim.add_option("--enable-networking-tests", action='store_true', help="Enable networking tests") +group_sim.add_option("--enable-fgview", action='store_true', + help="Enable FlightGear output") parser.add_option_group(group_sim)