robot_state_publisher can find 'robot' element
I am trying to load a simple urdf file into rviz. According to the urdf tutorials I need to start the robot_state_publisher and the joint_state_publisher, but when I start the robot_state_publisher on the following file I get an error.
The urdf file:
<?xml version="1.0"?>
<robot name="bobby">
<link name="base_link">
<visual>
<geometry>
<box size="0.65 0.72 0.25"/>
</geometry>
</visual>
</link>
</robot>
When I then run the following command:
rosparam set robot_description bobby.urdf
rosrun robot_state_publisher robot_state_publisher
The error that I get is:
[ERROR] [1374568528.590558816]: Could not find the 'robot' element in the xml file
[ERROR] [1374568528.590988619]: Could not generate robot model
[ERROR] [1374568528.591074594]: Failed to extract kdl tree from xml robot description
I am using groovy on 13.04 Can someone tell me what I am doing wrong?
Can you add the commands you ran?
I have added my commands to the original question.