Skip to content

Commit

Permalink
Added --enable-fgview option in sim_vehicle.py (by @justin-slattery)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugol-1 committed Jun 25, 2024
1 parent ce52a5d commit 8596ddd
Show file tree
Hide file tree
Showing 8 changed files with 7,455 additions and 9 deletions.
6,013 changes: 6,013 additions & 0 deletions 5503.log

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions Tools/autotest/fg_plane_view.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ nice fgfs \
--geometry=650x550 \
--bpp=32 \
--disable-hud-3d \
--disable-horizon-effect \
--timeofday=noon \
--disable-sound \
--disable-fullscreen \
--disable-random-objects \
--disable-ai-models \
--fog-disable \
--disable-specular-highlight \
--disable-anti-alias-hud \
--wind=0@0 \
$*
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
2 changes: 1 addition & 1 deletion modules/ChibiOS
2 changes: 1 addition & 1 deletion modules/DroneCAN/DSDL
2 changes: 1 addition & 1 deletion modules/waf
Submodule waf updated 234 files
Loading

0 comments on commit 8596ddd

Please sign in to comment.