-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added apm.launch file to iq_gnc project
- Loading branch information
1 parent
ae8768d
commit cef8d98
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<launch> | ||
<!-- vim: set ft=xml noet : --> | ||
<!-- Experimental launch script for APM based Drone --> | ||
|
||
<arg name="fcu_url" default="udp://127.0.0.1:14551@14555" /> | ||
<arg name="gcs_url" default="" /> | ||
<arg name="tgt_system" default="1" /> | ||
<arg name="tgt_component" default="1" /> | ||
<arg name="log_output" default="screen" /> | ||
<arg name="respawn_mavros" default="true"/> | ||
<arg name="mavros_ns" default="/"/> | ||
<arg name="config_yaml" default="$(find mavros)/launch/apm_config.yaml" /> | ||
|
||
<include file="$(find iq_gnc)/launch/mavros_node.launch"> | ||
<arg name="pluginlists_yaml" value="$(find mavros)/launch/apm_pluginlists.yaml" /> | ||
<arg name="config_yaml" value="$(arg config_yaml)" /> | ||
<arg name="mavros_ns" value="$(arg mavros_ns)"/> | ||
<arg name="fcu_url" value="$(arg fcu_url)" /> | ||
<arg name="gcs_url" value="$(arg gcs_url)" /> | ||
<arg name="respawn_mavros" value="$(arg respawn_mavros)"/> | ||
<arg name="tgt_system" value="$(arg tgt_system)" /> | ||
<arg name="tgt_component" value="$(arg tgt_component)" /> | ||
<arg name="log_output" value="$(arg log_output)" /> | ||
</include> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<launch> | ||
<!-- vim: set ft=xml noet : --> | ||
<!-- base node launch file--> | ||
|
||
<arg name="fcu_url" /> | ||
<arg name="gcs_url" /> | ||
<arg name="mavros_ns" default=""/> | ||
<arg name="tgt_system" /> | ||
<arg name="tgt_component" /> | ||
<arg name="pluginlists_yaml" /> | ||
<arg name="config_yaml" /> | ||
<arg name="log_output" default="screen" /> | ||
<arg name="fcu_protocol" default="v2.0" /> | ||
<arg name="respawn_mavros" default="false" /> | ||
|
||
<node pkg="mavros" type="mavros_node" name="mavros" required="$(eval not respawn_mavros)" clear_params="true" output="$(arg log_output)" respawn="$(arg respawn_mavros)" ns="$(arg mavros_ns)"> | ||
<param name="fcu_url" value="$(arg fcu_url)" /> | ||
<param name="gcs_url" value="$(arg gcs_url)" /> | ||
<param name="target_system_id" value="$(arg tgt_system)" /> | ||
<param name="target_component_id" value="$(arg tgt_component)" /> | ||
<param name="fcu_protocol" value="$(arg fcu_protocol)" /> | ||
<param name="/conn/timesync_rate" value="0.0"/> | ||
<!-- load blacklist, config --> | ||
<rosparam command="load" file="$(arg pluginlists_yaml)" /> | ||
<rosparam command="load" file="$(arg config_yaml)" /> | ||
</node> | ||
</launch> |