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

Image Sensor Not Rendering #4

Closed
micahpearlman opened this issue Jun 28, 2021 · 3 comments
Closed

Image Sensor Not Rendering #4

micahpearlman opened this issue Jun 28, 2021 · 3 comments

Comments

@micahpearlman
Copy link
Contributor

From: @EdvardGrodem in issue #3

images from cameras do not encode correctly and appears blue in Rviz. Does anyone know how to fix this?

@micahpearlman
Copy link
Contributor Author

I suspect that this is an issue with the underlying Unity rendering driver. The image/camera renders require Vulkan drivers (OpenGL will likely not work). Can you verify that the Vulkan driver is setup properly as outlined in: https://github.com/fsstudio-team/ZeroSimROSUnity#setting-up-a-new-unity-project

@micahpearlman
Copy link
Contributor Author

I just tested OpenGL on my system. It does render and I can visualize in RViz but the colors are incorrect. Are you sure the camera is attached to something in the scene and not falling through the floor or pointed in a unexpected direction? Can you try to set the debug parameter in the ZORGBCamera compontent, see image below. The camera sensor image should be rendered when Unity is running (it will be upside down, that is okay).

set_camera_debug

@EdvardGrodem
Copy link

Yes, enabling Vulken fixed the issue! I had some stability problems and forgot that I turned it off to test if that improved stability. Thanks a lot!

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