aboutsummaryrefslogtreecommitdiff
path: root/launch/mavros_sitl.launch
diff options
context:
space:
mode:
Diffstat (limited to 'launch/mavros_sitl.launch')
-rw-r--r--launch/mavros_sitl.launch19
1 files changed, 19 insertions, 0 deletions
diff --git a/launch/mavros_sitl.launch b/launch/mavros_sitl.launch
new file mode 100644
index 000000000..17b6a7035
--- /dev/null
+++ b/launch/mavros_sitl.launch
@@ -0,0 +1,19 @@
+<launch>
+ <!-- vim: set ft=xml noet : -->
+ <!-- example launch script for PX4 based FCU's -->
+
+ <arg name="fcu_url" default="udp://localhost:14560@localhost:14565" />
+ <arg name="gcs_url" default="" />
+ <arg name="tgt_system" default="1" />
+ <arg name="tgt_component" default="50" />
+
+ <include file="$(find mavros)/launch/node.launch">
+ <arg name="blacklist_yaml" value="$(find mavros)/launch/px4_blacklist.yaml" />
+ <arg name="config_yaml" value="$(find mavros)/launch/px4_config.yaml" />
+
+ <arg name="fcu_url" value="$(arg fcu_url)" />
+ <arg name="gcs_url" value="$(arg gcs_url)" />
+ <arg name="tgt_system" value="$(arg tgt_system)" />
+ <arg name="tgt_component" value="$(arg tgt_component)" />
+ </include>
+</launch>