Skip to content

Commit

Permalink
Tools: Add mavcesium option to sim_vehicle.py
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 authored and peterbarker committed Nov 12, 2024
1 parent be769a6 commit 7e7f56d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Tools/autotest/sim_vehicle.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,8 @@ def start_mavproxy(opts, stuff):
cmd.extend(['--aircraft', opts.aircraft])
if opts.moddebug:
cmd.append('--moddebug=%u' % opts.moddebug)
if opts.mavcesium:
cmd.extend(["--load-module", "cesium"])

if opts.fresh_params:
# these were built earlier:
Expand Down Expand Up @@ -1373,6 +1375,11 @@ def generate_frame_help():
default=False,
action='store_true',
help="load map module on startup")
group.add_option("", "--mavcesium",
default=False,
action='store_true',
help="load MAVCesium module on startup")

group.add_option("", "--console",
default=False,
action='store_true',
Expand Down

0 comments on commit 7e7f56d

Please sign in to comment.