Skip to content
Snippets Groups Projects
Commit 09e34c40 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Add state_pub argument to launch file

parent 46717427
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
<arg name="ns" default="ana"/>
<arg name="model" default="ana"/>
<arg name="state_pub" default="true" />
<arg name="static_wheels" default="false" />
<group ns="$(arg ns)">
......@@ -10,7 +11,10 @@
<param name="robot_description"
command="$(find xacro)/xacro --inorder '$(find iri_ana_description)/urdf/$(arg model).xacro' name:=$(arg ns)" />
<node pkg="robot_state_publisher" type="state_publisher" name="state_publisher">
<node if="$(arg state_pub)"
pkg="robot_state_publisher"
type="state_publisher"
name="state_publisher">
<param name="tf_prefix" type="string" value="/$(arg ns)"/>
<param name="publish_frequency" type="double" value="20.0"/>
</node>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment