mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Tools: added --enable-networking and --enable-networking-tests to sim_vehicle.py
This commit is contained in:
parent
c4cf3268cb
commit
bbe7ad484e
@ -411,6 +411,12 @@ def do_build(opts, frame_options):
|
||||
if opts.enable_dds:
|
||||
cmd_configure.append("--enable-dds")
|
||||
|
||||
if opts.enable_networking:
|
||||
cmd_configure.append("--enable-networking")
|
||||
|
||||
if opts.enable_networking_tests:
|
||||
cmd_configure.append("--enable-networking-tests")
|
||||
|
||||
pieces = [shlex.split(x) for x in opts.waf_configure_args]
|
||||
for piece in pieces:
|
||||
cmd_configure.extend(piece)
|
||||
@ -1326,6 +1332,10 @@ group_sim.add_option("", "--sim-address",
|
||||
help="IP address of the simulator. Defaults to localhost")
|
||||
group_sim.add_option("--enable-dds", action='store_true',
|
||||
help="Enable the dds client to connect with ROS2/DDS")
|
||||
group_sim.add_option("--enable-networking", action='store_true',
|
||||
help="Enable networking")
|
||||
group_sim.add_option("--enable-networking-tests", action='store_true',
|
||||
help="Enable networking tests")
|
||||
|
||||
parser.add_option_group(group_sim)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user