Tools: Add mavcesium option to sim_vehicle.py

Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
This commit is contained in:
Ryan Friedman 2024-11-08 02:35:08 -07:00 committed by Peter Barker
parent be769a6a7f
commit 7e7f56df79

View File

@ -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:
@ -1373,6 +1375,11 @@ group.add_option("", "--map",
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',