mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Tools: Add mavcesium option to sim_vehicle.py
Signed-off-by: Ryan Friedman <25047695+Ryanf55@users.noreply.github.com>
This commit is contained in:
parent
be769a6a7f
commit
7e7f56df79
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user