Commit 68d90b6f authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Modified the launch files to choose the desirec arm version.

parent 6e1fc41e
......@@ -6,7 +6,7 @@
<group ns="$(arg namespace)">
<param name="robot_description"
command="$(find xacro)/xacro --inorder '$(find arm_description)/urdf/arm.xacro' robot_name:=$(arg namespace) sim_config_path:=$(arg sim_config_path)" />
command="$(find xacro)/xacro --inorder '$(find arm_description)/urdf/$(arg namespace).xacro' robot_name:=$(arg namespace) sim_config_path:=$(arg sim_config_path)" />
<node pkg="robot_state_publisher" type="robot_state_publisher" name="$(arg namespace)_tf_broadcaster">
<param name="publish_frequency" type="double" value="50.0"/>
......
......@@ -2,7 +2,7 @@
<launch>
<arg name="namespace" default="arm"/>
<arg name="sim_config_path" default="$(arg arm_description)/config"/>
<arg name="sim_config_path" default="$(find arm_gazebo)/config"/>
<include file="$(find arm_description)/launch/description.launch">
<arg name="namespace" value="$(arg namespace)"/>
......@@ -21,6 +21,6 @@
<node name="rviz"
pkg ="rviz"
type="rviz"
args="-d $(find arm_description)/rviz/description.rviz" />
args="-d $(find arm_description)/rviz/$(arg namespace).rviz" />
</launch>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment