Gazebo | Ignition | Community
Ask Your Question

libgazebo_ros_openni_kinect plugin wrong color image

asked 2019-01-17 12:12:42 -0600

martinako gravatar image

I'm trying to use the libgazebo_ros_openni_kinect plugin in a simple scene with a grass textured ground plane, a table and a coke can. I can see the color image published by the plugin in RViz. However, the color image doesn't have shadows and the grass texture sometimes is seen sometimes is not, depending on how I move the camera. See a gazebo screenshot (even the rendering of the grass in gazebo has some artifacts): image description

and the corresponding color image in RViz: image description

If I just rotate the camera a tiny bit in gazebo I completely lose the grass texture on the generated color image: image description

Why does this happen? is it a bug? how can I workaround it?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2019-07-25 05:52:57 -0600

SunnyKatyara gravatar image

Hello martinako, i am looking for same groud plane. Can you help me how did you do that?

edit flag offensive delete link more

answered 2019-01-30 10:34:05 -0600

martinako gravatar image

Well, this has a beginners mistake. The default ground_plane was z-fighting with the grass one I added. Removing the default ground_plane solved the problem.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-01-17 12:12:42 -0600

Seen: 727 times

Last updated: Jan 30 '19