Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to correct a texture problem in Gazebo?

asked 2019-12-17 19:09:06 -0600

kaike_wesley_reis gravatar image

Hello developers!

First, my system Information:

  • ROS: Melodic
  • Gazebo: 9.0
  • Ubuntu: 18.04

I'm using right now an OpenManipulator-PRO from ROBOTIS and I decided to insert a custom camera and gripper in this arm using a COLLADA type for the meshes that I created using Onshape.

Bellow you can see in Rviz how it looks like:

image description

But, in gazebo:

image description

How can I solve this texture problem in gazebo?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-12-20 07:53:58 -0600

I am assuming you didn't give your camera a colour in Gazebo. That is why Gazebo has just decided to make it black.

in the URDF file for your camera add the following:

<gazebo reference="{name of your camera link}">
  <material value="Gazebo/White" />
</gazebo>

That way your camera should also appear white in Gazebo.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-12-17 19:09:06 -0600

Seen: 33 times

Last updated: Dec 17 '19