Home | Tutorials | Wiki | Issues
Ask Your Question

Is anyone aware of a Gazebo simulated depth camera that identifies the object each depth pixel belongs to?

asked 2016-09-18 04:01:07 -0500

Bernhard gravatar image

A simulated depth camera in GAZEBO senses objects in the simulated scene. It should therefore be possible to to only return the depth image from a simulated depth camera, but also the segmented image based on objects that are visible. Alternatively, is there a simulated camera available that returns a segmented image by objects in the scene. In other word, what is required is an image rendered by object id.

edit retag flag offensive close merge delete


I second this question & also need segmentation! A frien moves the camera then all relevant objects one at a time by a fixed offset to an arbitrary position outside the world which creates a constant background is extremely inefficient. Perhaps something could work via lower level rendering. Here is a similar question: http://answers.gazebosim.org/question/12215/scene-labeling-using-a-depth-camera/

Andrew Hundt gravatar imageAndrew Hundt ( 2017-03-06 14:05:00 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2017-03-07 09:57:26 -0500

nkoenig gravatar image

The functionality you are asking for does not exist in Gazebo. You could implement this feature, and submit a pull request.

There is a somewhat related sensor called LogicalCameraSensor that identifies objects within a view frustum.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-09-18 04:01:07 -0500

Seen: 661 times

Last updated: Mar 07