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

"Error document empty" when converting collada to urdf

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

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


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

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

Found any solutions to this?

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

2 Answers

Sort by ยป oldest newest most voted

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

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

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

Keyur gravatar image

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

edit flag offensive delete link more

Question Tools



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

Seen: 985 times

Last updated: May 15 '21