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

fail to Parse a urdf file

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

M Samir gravatar image

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

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

Comments

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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Question Tools

2 followers

Stats

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

Seen: 772 times

Last updated: Feb 23 '14