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

Error while parsing the URDF file

asked 2013-09-16 02:44:57 -0500

pavanpatel gravatar image

updated 2013-09-16 13:04:51 -0500

bit-pirate gravatar image

while making URDF file,when i am going to run ./bin/parser my_robot.urdf i got following error:

[ERROR] [1379365363.499555623]: Could not open file [my_robot.urdf] for parsing.
[ERROR] [1379365363.499662656]: Failed to parse urdf file

plz tell me how to solve it.

edit retag flag offensive close merge delete



Please, explain more detailed your problem in the description, not in the title of your question.

gustavo.velascoh gravatar image gustavo.velascoh  ( 2013-09-16 03:03:25 -0500 )edit

What distro of ROS are you using?

gustavo.velascoh gravatar image gustavo.velascoh  ( 2013-09-16 18:20:03 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted

answered 2014-02-07 02:52:09 -0500

jaimerv gravatar image

There is a dot missing in the second tutorial.

From your workspace, run: ~/catkin_ws$ ./devel/lib/testbot_description/parser ./src/testbot_description/urdf/my_robot.urdf

It worked for me.

edit flag offensive delete link more

answered 2013-09-24 05:58:18 -0500

Zargol gravatar image

updated 2013-09-24 06:03:31 -0500

test this one in the path of the urdf file (<path of="" urdf="" file=""> :~/catkin_ws/src/testbot_description/urdf$) ~/catkin_ws/devel/lib/testbot_description/parser ~/catkin_ws/src/testbot_description/urdf/my_robot.urdf)

edit flag offensive delete link more

answered 2013-09-16 17:50:23 -0500

pavanpatel gravatar image

but "rosrun urdfom check_urdf [your_file]" is used to run urdf file....and i want to parse my urdf file..for more detail follow the below link

edit flag offensive delete link more


If this is a solution to your problem, please mark your question as answered. If it is only a comment, please use the comment function for such. Thanks.

bit-pirate gravatar image bit-pirate  ( 2013-09-16 18:52:44 -0500 )edit

answered 2013-09-16 03:04:07 -0500

updated 2013-09-16 18:22:07 -0500

You can use rosrun urdfdom check_urdf [YOUR_FILE].


This is from the tutorial:

  $ rosmake urdfdom_model              # only needed if installed from source
  $ rosrun urdf check_urdf my_robot.urdf  # older versions
  $ rosrun urdf_parser check_urdf my_robot.urdf # electric and fuerte
  $ rosrun urdfdom check_urdf my_robot.urdf # groovy
  $ ## see footnote at bottom of page for why above commands are different

Check what distro you are using.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-09-16 02:44:57 -0500

Seen: 2,276 times

Last updated: Feb 07 '14