Tools: ardupilot_sitl launch file to include an out parameter for mavproxy

This commit is contained in:
Tiziano Fiorenzani 2023-12-07 15:27:26 -08:00 committed by Randy Mackay
parent 2045ef92da
commit 688632bcf7
1 changed files with 3 additions and 3 deletions

View File

@ -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} ",