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

Gazebo camera plugin rendering in wrong order on Virtual Machine

asked 2016-04-08 10:03:15 -0500

updated 2016-04-08 12:32:43 -0500

lucasw gravatar image

We are using ROS & Gazebo over virtual machine (VMWare Player). The Gazebo camera rendering worked fine in the Gazebo shipped with ROS Hydro. But in Gazebo version shipped with ROS Indigo, the camera plugin is rendering objects in the wrong order. See images here and here.

image description

image description

This problem appears to only happen on Virtual Machines (VMWare Player). This has been reported previously here.

It is important for us to work within Virtual Machine, and because ROS Indigo is an LTS release, we would like to upgrade to ROS Indigo. Is there any solution or workaround for this bug?

edit retag flag offensive close merge delete


Could very well be a z-buffer issue due to the graphics driver for the VM not supporting something properly. Perhaps you could search for bugs/reported issues for VMWare Player?

gvdhoorn gravatar image gvdhoorn  ( 2016-04-08 14:22:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-04-09 10:40:10 -0500

updated 2016-04-11 11:13:46 -0500

lucasw gravatar image

This is also tracked in Gazebo Bittbucket issue #1837. There has been a solution posted hours ago, but it seems to require that you compile Gazebo yourself.

edit flag offensive delete link more


I put some instructions for Indigo/Gazebo2 users without breaking binary compatibility with Gazebo related ros packages here.

Jari gravatar image Jari  ( 2016-09-19 08:50:57 -0500 )edit

Also a quick patch here which involves replacing specific shared library files. This maaaaay not work depending on your environment.

Jari gravatar image Jari  ( 2016-09-19 09:03:16 -0500 )edit

Question Tools



Asked: 2016-04-08 10:03:15 -0500

Seen: 814 times

Last updated: Apr 11 '16