Ask Your Question
0

Create your own urdf file "check_urdf" cannot check the urdf file

asked 2018-11-13 07:48:17 -0500

James Yang gravatar image

updated 2018-11-13 08:04:39 -0500

gvdhoorn gravatar image

when i key in check_urdf my_robot.urdf, the terminal shows the message like that

Error:   Error document empty.
         at line 72 in /build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp
ERROR: Model Parsing the xml failed

my system is Ubuntu 16.04, ROS version is kinetic

edit retag flag offensive close merge delete

Comments

I've just done a quick test with check_urdf on my system and I can only reproduce this when the given URDF file is in fact empty. So the Error document empty is probably correct. Can you show us the URDF file you're checking.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-11-13 08:39:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2020-08-05 11:54:35 -0500

Menz gravatar image

If someone else has the same problem: I got the error because I performed the check_urdf command not in the directory where the urdf file was located.

cd catkin_ws/src/testbot_description/urdf

check_urdf my_robot.urdf
edit flag offensive delete link more

Comments

thanks, the answer helps the beginner

cctt126 gravatar image cctt126  ( 2021-05-16 09:19:07 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-11-13 07:48:17 -0500

Seen: 604 times

Last updated: Nov 13 '18