Ask Your Question
0

Collada to URDF Conversion

asked 2014-05-09 03:00:03 -0600

L-Dani gravatar image

Hello everyone,

I want to load a collada file with kinematics and joints of a robot into V-Rep, which only supports URDF for kinematics. I found the collada_parser which seems to be able to convert a collada file to URDF, but I have no idea how to convert or use it. Is it even possible to export the kinematics this way?

Thanks for your help, Daniel

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-05-09 04:11:58 -0600

Bastbeat gravatar image

updated 2014-05-09 04:14:06 -0600

try: rosrun collada_urdf collada_to_urdf *.dae *.urdf

edit flag offensive delete link more

Comments

hey, thank you for the answer, but I want to convert the other way round: collada to urdf.

L-Dani gravatar imageL-Dani ( 2014-05-09 04:41:02 -0600 )edit

What's wrong with @Bastbeat's answer? Anyway `collada_urdf` package provides conversion in both ways. http://wiki.ros.org/collada_urdf#collada_to_urdf_command-line_tool

130s gravatar image130s ( 2014-05-09 05:45:02 -0600 )edit

when i try this i get an error :

$ rosrun collada_urdf collada_to_urdf *.dae *.urdf ;; Input file is: *.dae Error: Error document empty. at line 72 in /build/urdfdom-UJ3kd6/urdfdom-0.4.1/urdf_parser/src/model.cpp ERROR: Model Parsing the xml failed I am unable to locate this file anywhere.

curi_ROS gravatar imagecuri_ROS ( 2018-09-24 03:44:55 -0600 )edit

@curi_ROS Please open a new question thread instead of asking a question in a comment section. That's not how this forum works and to the worst your question won't get attention it might need.

130s gravatar image130s ( 2018-09-24 10:47:08 -0600 )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: 2014-05-09 03:00:03 -0600

Seen: 896 times

Last updated: May 09 '14