background color with wideanglecamera sensor

asked 2016-11-09 19:56:36 -0600

mallanmba gravatar image

I'm using the wideanglecamera sensor with a black background (specified in world file in the <scene> block), but the background in the image coming from the sensor is grey. Is this a bug, or do I need to specify the background in a different way? The background is black in the Gazebo UI and in images from the multicamera sensor. Here's an image from the wideanglecamera sensor: image description

...and here's an image from the same scene, pointing in the same direction - but with the multicamera sensor:

image description

Thanks, -Mark

edit retag flag offensive close merge delete


This looks like a bug, you could report it here:

chapulina gravatar imagechapulina ( 2016-11-10 11:07:30 -0600 )edit

Ok, it's Issue #2097 and I attached a patch that updates the WideAngleCamera background color when Scene::SetBackgroundColor is called

mallanmba gravatar imagemallanmba ( 2016-11-10 18:34:44 -0600 )edit