Skip to content

Commit

Permalink
Added --enable-fgview option in sim_vehicle.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ugol-1 committed Jun 25, 2024
1 parent ce52a5d commit 0be69a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Tools/autotest/sim_vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,8 @@ def start_vehicle(binary, opts, stuff, spawns=None):
cmd.append("--start-time=%d" % start_time_UTC)

cmd.append("--sim-address=%s" % cmd_opts.sim_address)
cmd.append("--enable-fgview")
if opts.enable_fgview:
cmd.append("--enable-fgview")

old_dir = os.getcwd()
for i, i_dir in zip(instances, instance_dir):
Expand Down Expand Up @@ -1341,6 +1342,10 @@ def generate_frame_help():
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',
default=False,
help="Enable FlightGear view")

parser.add_option_group(group_sim)

Expand Down

0 comments on commit 0be69a4

Please sign in to comment.