-
Notifications
You must be signed in to change notification settings - Fork 35
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
Support of RGB and Depth Camera Sensor for URP ? #67
Comments
I tried URP. https://github.com/Autumn60/UnitySensors/tree/feature/urp_test The RGB camera could be executed with only minor changes. RGBD camera and LiDAR are under investigation. |
@Autumn60 i can also confirm that with this change in the RGBCameraSensor.cs it works ( 1 instead of 0 in the RenderTexture line 27). The Depth camera and pointcloud do not work since the Color2Depth shader is not updated. Furthermore the depth image is compressed using jpeg format and i can decompress it like a normal image ( bgr8 encoding ) but the more correct way of doing that would be for the depth image to use 32FC1 format. Maybe this format is more difficult to compress/decompress though, and an option to publish the uncompressed depth image directly with the 32FC1 format should be added. Using the 32FC1 format together with a camera info message ( generated by the robotics hub CameraInfoGenerator ), can be used to reconstruct the point cloud on the ros side ( with color or not ) as another option and for use cases where the depth image is only required ros expects this format |
@Autumn60 @panagelak I would like to ask your opinion. |
I agree with @RyodoTanaka 's suggestion. Separating repositories seems like a good idea. If Unity Technologies makes URP the standard, it might be a good idea to leave the current branches as an archive and change the UnitySensors project to support URP. |
Hello i really like this package and the sensors it provides i was looking for something like this a long time.
Since URP will become the default render pipeline, will you find time to support in the future? ( even HDRP )
I think they only sensors that needs updating is the RGB and Depth Camera sensor to support all the pipelines, i am not very good with shaders otherwise i would help.
Thank you
The text was updated successfully, but these errors were encountered: