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

Using osg (OpenSceneGraph) models in rviz?

asked 2013-05-19 01:57:10 -0500

TommyP gravatar image

updated 2013-05-19 04:28:37 -0500

I am trying to show meshes in rviz and the mesh is originally an OpenSceneGraph model (.osg). My previous conversion pipeline was to use osgconv to convert to 3ds and wings3d to convert to collada dae. That worked a couple of months ago but stopped working (nothing is displayed) in a recent update.

So do anybody have a working and recently tested conversion receipt for this only using Linux (Ubuntu)? Or any suggestion about what to test? I tested meshlab and got the object but no textures.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-05-19 06:12:34 -0500

dgossow gravatar image

Do you mean this stopped working with a recent RViz update? There was a change in RViz that could cause this - it now interprets the 'unit' property in collada files. If this is set wrong, your meshes could be too large or too small to see in RViz. Check your collada files for that.

edit flag offensive delete link more

Comments

Yes, it stopped working in a recent rviz update but I do not know exactly when. I will check the unit property.

TommyP gravatar image TommyP  ( 2013-05-19 06:20:41 -0500 )edit

Changing the unit definition of meter from 0.01 to 1.0 solved the problem with my old Collada files. The Wings3d export to Collada works OK. I am still interested in alternative conversion paths which could give nicer handling of material properties.

TommyP gravatar image TommyP  ( 2013-05-19 06:37:28 -0500 )edit

The tools you use have parameters that control the scaling, they should do the job without manual adjustments.

dgossow gravatar image dgossow  ( 2013-05-19 14:16:54 -0500 )edit

That means that I have to learn the tools... And I really thought my original format was unit less. So it was really a surprise for me that units are added in some formats.

TommyP gravatar image TommyP  ( 2013-05-19 21:56:39 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2013-05-19 01:57:10 -0500

Seen: 387 times

Last updated: May 19 '13