[ros-users] urdf meshes generate "No root link found" error
meeussen at willowgarage.com
Mon Jul 12 16:26:29 UTC 2010
You forgot to close the 'resource' element at line 3 of your xml file:
<resource type ="stl_meshes" location = "home/yglee/ros/ros/HUMAN/stl_files">
This caused the rest of your xml file to be hidden inside the resource
element. I'll make the error message of the parser more informative in
case the tree is empty.
On Mon, Jul 12, 2010 at 9:08 AM, Yeon Grace Lee <yeongrace.lee at gmail.com> wrote:
> I am currently writing an urdf file for a human model. The human model ran
> fine in rviz when I used geometric shapes for links. Recently I have
> uploaded STL files and changed the link geometry to that of a mesh. This has
> generated a "No root link found" error even though nothing has been changed
> in parent-child relationships in joints and names of links and joints have
> stayed constant. I have also opened up my STL files in blender and they all
> have no problem opening and displaying the models (they have been exported
> from Maya). I'm not quite sure what I am missing in my urdf or my
> state_publisher file. It may be something simple that I am not aware of. I
> have attached the two files (model.xml and state_publisher.cpp). The error
> generated is below:
> yglee at yglee-laptop:~/ros/ros/HUMAN$ roslaunch HUMAN launch_file.launch
> ... logging to
> started roslaunch server http://yglee-laptop:42319/
> * /robot_description
> robot_state_publisher (robot_state_publisher/state_publisher)
> state_publisher (HUMAN/state_publisher)
> WARNING: IP address 127.0.1.1 for local hostname 'yglee-laptop' does not
> appear to match
> any local IP address (127.0.0.1,192.168.2.153). Your ROS nodes may fail to
> Please use ROS_IP to set the correct IP address to use.
> starting new master (master configured for auto start)
> process[master]: started with pid 
> setting /run_id to 7c565b12-8dce-11df-b146-00236c960005
> process[rosout-1]: started with pid 
> started core service [/rosout]
> process[robot_state_publisher-2]: started with pid 
> process[state_publisher-3]: started with pid 
> [ERROR] 1278950383.696006000: No root link found. The robot xml is not a
> valid tree.
> [ERROR] 1278950383.696138000: failed to find root link
> [ERROR] 1278950383.696279000: Could not generate robot model
> [ERROR] 1278950383.696612000: Failed to extract kdl tree from xml robot
> [robot_state_publisher-2] process has died [pid 2161, exit code 255].
> log files:
> ^C[state_publisher-3] killing on exit
> [rosout-1] killing on exit
> [master] killing on exit
> shutting down processing monitor...
> ... shutting down processing monitor complete
> Thank you in advance for your help.
> Grace L.
> ros-users mailing list
> ros-users at code.ros.org
Willow Garage Inc.
More information about the ros-users