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. # Retrieve launch arguments.
master = LaunchConfiguration("master").perform(context) master = LaunchConfiguration("master").perform(context)
# out = LaunchConfiguration("out").perform(context) out = LaunchConfiguration("out").perform(context)
sitl = LaunchConfiguration("sitl").perform(context) sitl = LaunchConfiguration("sitl").perform(context)
# Display launch arguments. # Display launch arguments.
print(f"command: {command}") print(f"command: {command}")
print(f"master: {master}") print(f"master: {master}")
print(f"sitl: {sitl}") print(f"sitl: {sitl}")
print(f"out: {out}")
# Create action. # Create action.
mavproxy_process = ExecuteProcess( mavproxy_process = ExecuteProcess(
cmd=[ cmd=[
[ [
f"{command} ", f"{command} ",
"--out ", f"--out {out} ",
"127.0.0.1:14550 ",
"--out ", "--out ",
"127.0.0.1:14551 ", "127.0.0.1:14551 ",
f"--master {master} ", f"--master {master} ",