ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

@DimitriProsser is right, but you need to use xacro for this to work. Your urdf file should look like this (let's say it's called wam_description/wam.urdf.xacro):

<robot
  xmlns:xacro="http://ros.org/wiki/xacro"
  name="wam">

  <include filename="$(find wam_gazebo)/urdf/your_file.urdf" />
</robot>

Now you can load the URDF file into the robot_description parameter using this launch file:

<launch>
    <param name="robot_description" command="$(find xacro)/xacro.py '$(find wam_description)/wam.urdf.xacro'" />
</launch>