Home | Tutorials | Wiki | Issues
Ask Your Question
1

How to tune the render of COLLADA files in Gazebo?

asked 2013-09-29 13:44:26 -0600

Arn-O gravatar image

Hi.

I have build a robot model for the youBot from COLLADA files provided by KUKA. I would say that everything is fine, but I am somehow disappointing by the display of the robot parts (see screenshots bellow).

I don't know anything about 3D so I do not have the word to tell precisely the problem. I would say that the colors are too bright, preventing to see the shape of the parts. Moreover, this feeling is not consistent between Gazebo and rviz. Only the orange of the arm in Gazebo is fine. The black and the grey do not let the user to imagine the edges.

I had a look at the COLLADA files but did not notice anything. They contains tags for black, orange and grey. I have checked the parts in meshlab. The meshes are fine. Unfortunately meshlab does not read the color. The files can be found in this repo:

https://github.com/Arn-O/youbot_ros_tools

The wheels have been simulated with simple spheres and the display is fine too.

So, is there any way to improve this? I would say ideally without modify the COLLADA files. Maybe the light is not correct (I use the standard world file).

Thanks for your answers!

image description

image description

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-10-06 11:57:11 -0600

nkoenig gravatar image

You can try opening your collada files, and look for "ambient", "diffuse", and "emission" properties. Adjust the values up to make the model brighter.

A better, but more complicated approach, is to texture wrap each mesh. You'll need to use a tool like Blender, Maya, or 3ds max to accomplish this. There are plenty of tutorials on line.

It's also possible that the normals for your mesh are incorrect. You can check them in a 3d editor (blender, for example).

edit flag offensive delete link more
0

answered 2013-10-01 13:10:50 -0600

nkoenig gravatar image

You should try the Youbot that is in the Gazebo model database.

  1. Launch Gazebo: gazebo

  2. Select the Insert tab in the upper left corner of the GUI.

  3. Expand the http://gazebosim.org/models item (it may take a few seconds for the item to connect)

  4. Scroll the the bottom, and select the Kuka YouBot model. Move your mouse in the render window, and click once.

Here is the Gazebo model database

edit flag offensive delete link more

Comments

Thanks Nate for the answer. Well, I knew this model and I have also worked with previous versions from youBot and RAIL. The question behind was to have a better understanding of the COLLADA and how it could affect Gazebo (and probably OGRE).

Arn-O gravatar imageArn-O ( 2013-10-01 16:50:10 -0600 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-09-29 13:44:26 -0600

Seen: 1,357 times

Last updated: Oct 06 '13