diff --git a/Tools/ros2/ardupilot_sitl/src/ardupilot_sitl/launch.py b/Tools/ros2/ardupilot_sitl/src/ardupilot_sitl/launch.py index 6578e537d8..10203e148b 100644 --- a/Tools/ros2/ardupilot_sitl/src/ardupilot_sitl/launch.py +++ b/Tools/ros2/ardupilot_sitl/src/ardupilot_sitl/launch.py @@ -284,21 +284,21 @@ class MAVProxyLaunch: # Retrieve launch arguments. master = LaunchConfiguration("master").perform(context) - # out = LaunchConfiguration("out").perform(context) + out = LaunchConfiguration("out").perform(context) sitl = LaunchConfiguration("sitl").perform(context) # Display launch arguments. print(f"command: {command}") print(f"master: {master}") print(f"sitl: {sitl}") + print(f"out: {out}") # Create action. mavproxy_process = ExecuteProcess( cmd=[ [ f"{command} ", - "--out ", - "127.0.0.1:14550 ", + f"--out {out} ", "--out ", "127.0.0.1:14551 ", f"--master {master} ",