Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dark tinted image outputs from image_raw #36

Open
roboticlemon opened this issue Jun 8, 2021 · 2 comments
Open

Dark tinted image outputs from image_raw #36

roboticlemon opened this issue Jun 8, 2021 · 2 comments

Comments

@roboticlemon
Copy link

roboticlemon commented Jun 8, 2021

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 camera/color/image_raw:
without_realsense

Then with realsense xacro loaded on camera/color/image_raw:
with_realsense

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

@v-lopez
Copy link
Contributor

v-lopez commented Jun 8, 2021

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.

@roboticlemon
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants