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.
|
# 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} ",
|
||||||
|
|
Loading…
Reference in New Issue