Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collada to urdf error, invalid COLLADA version with DOM? #45

Open
serboba opened this issue Jul 24, 2021 · 4 comments
Open

collada to urdf error, invalid COLLADA version with DOM? #45

serboba opened this issue Jul 24, 2021 · 4 comments

Comments

@serboba
Copy link

serboba commented Jul 24, 2021

Hi, i'm trying to convert my .dae file (just a simple cube) to a urdf file but I get this error:

rosrun collada_urdf collada_to_urdf aq.dae sd.urdf
;; Input file is: aq.dae

[ WARN] [1627085191.502029989]: COLLADA warning: The DOM was unable to create an attribute xmlns:xsi = http://www.w3.org/2001/XMLSchema-instance at line 11.
Probably a schema violation.

[ERROR] [1627085191.502058935]: COLLADA error: Trying to load an invalid COLLADA version for this DOM build!

[ERROR] [1627085191.502253364]: COLLADA error: Failed to load XML document from memory

ERROR: Model Parsing the xml failed

I'm using ubuntu 18.0 4 using ros melodic and collada version should be 1.4.1 as it is in my .dae file:

<?xml version="1.0" encoding="utf-8"?>
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@yosefl20
Copy link

yosefl20 commented Sep 9, 2021

me too. I exported a dae file via blender 2.93. And I got the same error when I tried to convert it with collada_urdf.

@msalj
Copy link

msalj commented Nov 29, 2021

Have the same problem...
Did you find a solution?

@serboba
Copy link
Author

serboba commented Nov 30, 2021

No not yet, I gave up and write the urdf file myself

@aarsht7
Copy link

aarsht7 commented Jan 20, 2022

I was getting same error with all the ROS versions available. The issue here is collada version 1.4.1 and converting it to 1.5.0 solved the error but now encountered other issue.

Error while parsing the collada 1.4.1

Input file is: ybot.dae
[ERROR] [1642661680.681887115]: COLLADA error: Trying to load an invalid COLLADA version for this DOM build!
[ERROR] [1642661680.712758215]: COLLADA error: Failed to load XML document from memory

Error while parsing the collada 1.5.0

Input file is: ybot_15.dae
ERROR: Model Parsing the xml failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants