mirror of https://github.com/ArduPilot/ardupilot
Tools: sim_vehicle.py: Added --enable-fgview option in sim_vehicle.py (by @justin-slattery)
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
This commit is contained in:
parent
b450dc3346
commit
2a371077e3
|
@ -775,6 +775,8 @@ def start_vehicle(binary, opts, stuff, spawns=None):
|
|||
cmd.extend(["--sysid", str(opts.sysid)])
|
||||
if opts.slave is not None:
|
||||
cmd.extend(["--slave", str(opts.slave)])
|
||||
if opts.enable_fgview:
|
||||
cmd.extend(["--enable-fgview"])
|
||||
if opts.sitl_instance_args:
|
||||
# this could be a lot better:
|
||||
cmd.extend(opts.sitl_instance_args.split(" "))
|
||||
|
@ -1340,6 +1342,8 @@ group_sim.add_option("--enable-ppp", action='store_true',
|
|||
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',
|
||||
help="Enable FlightGear output")
|
||||
|
||||
parser.add_option_group(group_sim)
|
||||
|
||||
|
|
Loading…
Reference in New Issue