Skip to content

Commit

Permalink
Tools: ardupilot_sitl launch file to include an out parameter for mav…
Browse files Browse the repository at this point in the history
…proxy
  • Loading branch information
Tiziano Fiorenzani authored and Ryanf55 committed Aug 22, 2024
1 parent 142aece commit 1f0f580
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tools/ros2/ardupilot_sitl/src/ardupilot_sitl/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,21 +284,21 @@ def generate_action(context: LaunchContext, *args, **kwargs) -> ExecuteProcess:

# 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} ",
Expand Down

0 comments on commit 1f0f580

Please sign in to comment.