Skip to content

Commit

Permalink
launch: Add example launch for #103.
Browse files Browse the repository at this point in the history
  • Loading branch information
vooon committed Aug 14, 2014
1 parent 7559a91 commit e8c6cf1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions mavros_extras/launch/px4_image.launch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<launch>
<!-- vim: ft=roslaunch -->
<!-- example launch script for PX4 based FCU's with gcs_image_bridge -->

<arg name="fcu_url" default="serial:///dev/ttyACM0:57600" />
<arg name="gcs_url" default="udp://@" />
<arg name="tgt_system" default="1" />
<arg name="tgt_component" default="50" />

<node pkg="mavros" type="mavros_node" name="mavros" required="true" clear_params="true" output="screen">
<param name="fcu_url" value="$(arg fcu_url)" />
<!-- disable internal gcs bridge -->
<param name="gcs_url" value="" />
<param name="target_system_id" value="$(arg tgt_system)" />
<param name="target_component_id" value="$(arg tgt_component)" />

<!-- load px4 blacklist -->
<rosparam command="load" file="$(find mavros)/launch/px4_blacklist.yaml" />

<!-- enable heartbeat send and reduce timeout -->
<param name="conn_heartbeat" value="5.0" />
<param name="conn_timeout" value="10.0" />
<!-- enable mavlink autostart on USB port -->
<param name="startup_px4_usb_quirk" value="true" />
</node>

<node pkg="mavros_extras" type="gcs_image_bridge" name="gcs_image_bridge" clear_params="true" output="screen">
<!-- <remap from="/mavlink/gcs_image" to="/image/source" /> -->
<param name="gcs_url" value="$(arg gcs_url)" />
</node>
</launch>

0 comments on commit e8c6cf1

Please sign in to comment.