Ask Your Question
0

"Error document empty" when converting collada to urdf

asked 2021-02-05 04:15:05 -0600

Victoh gravatar image

Hello, i'm trying to convert a .dae file from solidworks to .urdf and i run into some errors. Here are the error messages:

rosrun collada_urdf collada_to_urdf bloc_camera.dae test.urdf
;; Input file is: bloc_camera.dae
Error:   Error document empty.
         at line 100 in /build/urdfdom-VnCcob/urdfdom-1.0.4+ds/urdf_parser/src/model.cpp
ERROR: Model Parsing the xml failed

I'm running ROS noetic with moveit1 on Ubuntu 20.04 on VM. Thank your for your help

edit retag flag offensive close merge delete

Comments

Mind posting bloc_camera.dae. Hard to say why parsing failed.

sloretz gravatar image sloretz  ( 2021-02-09 13:03:51 -0600 )edit

Found any solutions to this?

jeanbuntu gravatar image jeanbuntu  ( 2021-05-15 04:10:56 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-05-15 04:13:26 -0600

jeanbuntu gravatar image

I don't know a global solution but going into the directory containing your urdf and then pushing rosrun seems to work.

edit flag offensive delete link more
0

answered 2021-04-21 09:29:17 -0600

Keyur gravatar image

Actually do check whether you have proper indentation in your urdf file.

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

2 followers

Stats

Asked: 2021-02-05 04:15:05 -0600

Seen: 241 times

Last updated: May 15