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

conversion from urdf to dae fails while attempting to install ikfast for ur5

asked 2014-06-11 12:22:17 -0500

airplanesrule gravatar image

updated 2014-06-17 03:35:40 -0500

gvdhoorn gravatar image

I have been following this tutorial: http://moveit.ros.org/wiki/Kinematics... while attempting to setup the ikfast solver for a ur5. I have gotten to the point where I am required to make a collada .dae file from the urdf file provided by the universal_robot repository. I have attempted to use collada_urdf to convert the file with the command:

rosrun collada_urdf urdf_to_collada ur5_robot.urdf ur5_robot.dae

however, this fails and gives the following terminal output:

[ WARN] [1402506614.940955494]: failed to load resource /home/robotcontroller/catkin_ws/src/universal_robot/ur_description/meshes/ur5/visual/Base.dae
[ WARN] [1402506614.941741160]: failed to load resource /home/robotcontroller/catkin_ws/src/universal_robot/ur_description/meshes/ur5/visual/Shoulder.dae
[ WARN] [1402506614.942159294]: failed to load resource /home/robotcontroller/catkin_ws/src/universal_robot/ur_description/meshes/ur5/visual/UpperArm.dae
[ WARN] [1402506614.942558970]: failed to load resource /home/robotcontroller/catkin_ws/src/universal_robot/ur_description/meshes/ur5/visual/Forearm.dae
[ WARN] [1402506614.943012926]: failed to load resource /home/robotcontroller/catkin_ws/src/universal_robot/ur_description/meshes/ur5/visual/Wrist1.dae
[ WARN] [1402506614.943426780]: failed to load resource /home/robotcontroller/catkin_ws/src/universal_robot/ur_description/meshes/ur5/visual/Wrist2.dae
[ WARN] [1402506614.943796708]: failed to load resource /home/robotcontroller/catkin_ws/src/universal_robot/ur_description/meshes/ur5/visual/Wrist3.dae
I/O error : No such file or directory
I/O error : No such file or directory
error : xmlNewTextWriterFilename : cannot open uri

Document successfully written to ur5_robot.dae

despite the "document successfully written" message, I can not find any output file named ur5_robot.dae. Is there another way to convert these files? Or another way to install IKFast to use with a ur5?

edit retag flag offensive close merge delete

Comments

It is considered more 'future-proof' to include as much as possible any error text / output directly in your question, as links to services like pastebin can go stale. That would leave future readers guessing as to what the error actually was. I've edited your question to include it.

gvdhoorn gravatar image gvdhoorn  ( 2014-06-11 15:46:42 -0500 )edit

Same problem here on a fresh install of ROS Indigo, Ubuntu 14.04.2...

Stephane Caron gravatar image Stephane Caron  ( 2015-03-19 06:29:29 -0500 )edit
1

I've seen more people report problems with trying to convert from urdt to dae on Indigo. See robot_model/issues/89 fi.

gvdhoorn gravatar image gvdhoorn  ( 2015-03-19 09:55:02 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-12-20 19:50:45 -0500

Kei Okada gravatar image

this has been fixed by newer version of collada library, see https://github.com/ros/robot_model/is...

edit flag offensive delete link more
3

answered 2014-06-11 15:51:58 -0500

gvdhoorn gravatar image

updated 2014-06-11 15:53:36 -0500

I've seen urdf_to_collada fail if it was invoked without the package that contains the resources the urdf refers to on the package path. Can you make sure ROS can find the ur_description package? Something like:

rospack find ur_description

should return the correct directory.

Without more information: it should not matter, but I found it easiest to invoke urdf_to_collada in the directory containing the urdf (ie: /urdf in ur_description).

The .dae should then appear in the cwd.

edit flag offensive delete link more

Comments

I just tried this and adding ur_description to the path gets rid of the [WARN] failed to load messages, but the

I/O error : No such file or directory
I/O error : No such file or directory
error : xmlNewTextWriterFilename : cannot open uri

still shows up

airplanesrule gravatar image airplanesrule  ( 2014-06-16 09:10:06 -0500 )edit

Very strange. I've just tried the conversion on my local system, and it works without any problems. Could you describe your environment a bit more? ROS version, workspace layout, etc (append to original question please).

gvdhoorn gravatar image gvdhoorn  ( 2014-06-17 03:34:07 -0500 )edit
0

answered 2015-04-07 15:25:49 -0500

salsaman gravatar image
edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2014-06-11 12:22:17 -0500

Seen: 2,097 times

Last updated: Dec 20 '15