Ask Your Question
1

Converting Collada to urdf

asked 2012-08-18 07:04:01 -0500

updated 2012-08-19 11:54:55 -0500

When running rosrun urdf check_urdf my_collada.dae, I get this error.

COLLADA error: Trying to load an invalid Collada version for this DOM build

I have looked at the source in collada_parser and urdf and cannot seem to find which version is required (I have tried 1.4.0 and 1.5.0)

I need to be publishing joints on /tf, so I want to convert my Collada file into an URDF, which robot_description requires as input.

Will this method work on a full-robot model with kinematic information, or would I have to convert each part to an urdf?

Here's a link to an example file that gives the error

Thanks

edit retag flag offensive close merge delete

Comments

Can you post the model, or a similar one that gives you the same error?

jbohren gravatar imagejbohren ( 2012-08-19 10:27:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-08-19 17:16:28 -0500

Perhaps I am misunderstanding something, but as I see it you are testing a COLLADA format to see if it is URDF. They are two different formats. You can include a reference to a .dae file within a URDF file as a link, but .dae themselves are not URDF.

I would recommend you check out this excellent video on URDF from ROSCON http://www.youtube.com/watch?v=g9WHxOpAUns

At 15:30 in the video you will see the format to include .dae into your URDF file. I've followed this, and it works perfectly. I have about 10 different mesh links in my URDF with no problems.

edit flag offensive delete link more

Comments

1

Except it's possible to load a COLLADA file and construct a C++ URDF object with this library: http://www.ros.org/wiki/collada_parser

jbohren gravatar imagejbohren ( 2012-08-20 02:21:21 -0500 )edit

@jbohren Exactly, the ideal would be to support full kinematic chains, as mentioned here, but right now I am just going for a simple shape

phil0stine gravatar imagephil0stine ( 2012-08-20 03:08:31 -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

Stats

Asked: 2012-08-18 07:04:01 -0500

Seen: 1,839 times

Last updated: Aug 19 '12