Ask Your Question

fail to Parse a urdf file

asked 2014-02-22 22:52:13 -0600

M Samir gravatar image

updated 2014-02-23 16:35:31 -0600

ahendrix gravatar image

i can't understand and not working

$ .<path>/parser <path>my_robot.urdf
# ./devel/lib/robot_description/parser /src/robot_description/urdf/my_robot.urdf (for example)
edit retag flag offensive close merge delete


Could you include the actual error that you are seeing in your question? That would make answering it a bit easier.

gvdhoorn gravatar image gvdhoorn  ( 2014-02-23 20:32:30 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-23 20:31:36 -0600

gvdhoorn gravatar image
# ./devel/lib/robot_description/parser /src/robot_description/urdf/my_robot.urdf

assuming the binary parser actually exists in ./devel/lib/robot_description, it would seem you pass it an absolute path (ie: /src/..). Does that path exist on your system? What is the output of ls /src/robot_description for instance?

Additionally, does robot_description in src contain a directory urdf with a my_robot.urdf file in it?

Assuming all yes to the above, and you are in your catkin_ws (or wherever both devel and src are located), try the following:

./devel/lib/robot_description/parser ./src/robot_description/urdf/my_robot.urdf
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2014-02-22 22:52:13 -0600

Seen: 540 times

Last updated: Feb 23 '14