mirror of https://github.com/ArduPilot/ardupilot
Tools: ardupilot_sitl launch file to include an out parameter for mavproxy
This commit is contained in:
parent
2045ef92da
commit
688632bcf7
|
@ -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} ",
|
||||
|
|
Loading…
Reference in New Issue