Open ingramator opened 3 years ago
Can't test right now but it could be the camera mesh has some part that is traslucent gray, from the top of my mind there are some parameters for min cutoff distance or something like that.
What's even weirder is that if in Gazebo you uncheck Scene -> shadows then, recheck Scene -> shadows it completely resolves the issue. I've played around with min cutoff but doesn't seem to be helping, thanks for the suggestion though since I suspected it may be something like that.
It could also be some weird gazebo lighting bug/interaction.
All images from this realsense plugin are noticeable darker than rendered from other Gazebo cameras for some reason.
When loading this plugins xacro into the URDF it also appears to affect ALL other cameras, including non-
realsense_gazebo_plugin cameras
.Without realsense xacro on![without_realsense](https://user-images.githubusercontent.com/2769347/121191745-9932b000-c8af-11eb-8a94-b1d29ca9cda8.png)
camera/color/image_raw
:Then with realsense xacro loaded on![with_realsense](https://user-images.githubusercontent.com/2769347/121191770-9d5ecd80-c8af-11eb-86a3-234e029dba39.png)
camera/color/image_raw
:Note this an identical world with everything identical just with or without gazebo plugin loaded in. The camera is also not occluded by anything.
I have gone through the plugin code and I can't really see anything that looks like it would cause any issues.
Any ideas?
Cheers