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

displaying COLLADA 1.4 models in rviz

asked 2011-07-25 03:33:50 -0500

Nick Armstrong-Crews gravatar image

Thanks Ryohei (and Rosen) for your suggestions - after re-compiling rviz/robot_model from trunk, I was able to see the Barrett hand COLLADA model in rviz.

Then I had our summer intern work furiously to make a COLLADA model of our robot, using Blender. But it seems to only export COLLADA 1.4, and rviz/robot_model seems to only accept COLLADA 1.5.

Any advice on how to use my COLLADA 1.4 model in rviz/robot_model, or an export sequence that will get me from Blender to COLLADA 1.5?

Thanks! -Nick

PS - I would attach the model itself, but I can't due to propriety of information...

From: ros-users-bounces@code.ros.org [mailto:ros-users-bounces@code.ros.org] On Behalf Of Ryohei Ueda

Hi Nick

have you (re-)compiled rviz with the trunk robot_model stack?

-- ryohei

On Wed, Jun 22, 2011 at 10:48 PM, Armstrong-Crews, Nicholas - 0447 - MITLL nickarmstrongcrews@ll.mit.edu > wrote: Has anybody done this successfully? It’s giving me trouble…

I’m following this tutorial: http://www.ros.org/wiki/collada_urdf/... th%20COLLADA

I get the output:

WARNING: unrecognized tag sphinxdoc

process[collada_joint_publisher]: started

process[rviz]: started

[ERROR]: No name given for the robot

[ERROR]: No name given for the robot

The model loads fine in the adjacent OpenRAVE 0.4.0 window, but rviz gives me the status error: “URDF failed Model parse”.

I’m using ROS diamondback binaries with jsk-ros-pkg. I’ve tried with both the diamondback release version of robot_model, and the 1.5.1 release from the trunk (as downloaded by jsk_ros_patch). I’ve also tried with one of the stock models from the collada_robots package.

Any bright ideas?

Thanks! -Nick

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2011-07-25 04:19:42 -0500

Pi Robot gravatar image

Hi Nick,

Rosen suggested to me that after exporting your model from Blender, edit the .dae file and change the Collada specification line to:

<COLLADA version="1.5.0" xmlns="http://www.collada.org/2008/03/COLLADASchema">

The problem I then ran into is that the Collada model turns out to be single mesh so that the individual joints are not articulated as they would be in a URDF/Xacro model. Rosen then pointed me toward the OpenGrasp project that has a Blender plugin for creating the correct kinematic chain for use with ROS and OpenRAVE. However, the plugin was designed for Blender 2.48a and Python 2.5 and so you would need to use those versions to give it a try. (After 2 full days of trying to get all this to work, I've run out of steam for now...)

--patrick

edit flag offensive delete link more

Comments

Hi, I read the thread you are referring to. I know it's been awhile, but did you have any luck importing collada files with kinematic chains? Thanks

phil0stine gravatar image phil0stine  ( 2012-08-18 13:03:05 -0500 )edit

Question Tools

Stats

Asked: 2011-07-25 03:33:50 -0500

Seen: 1,526 times

Last updated: Jul 25 '11