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

publishing RAW images #165

Open
sawan-kcl opened this issue Jul 11, 2024 · 2 comments
Open

publishing RAW images #165

sawan-kcl opened this issue Jul 11, 2024 · 2 comments

Comments

@sawan-kcl
Copy link

Hello,
The work with ROS sensors has been going well so far but i have encountered a bottleneck. In order to use the depth images and RGB images for 3D mapping, i need data in RAW format instead of compressed format.
Is there any way that the camera and depth sensors publish images in raw format? currently it publishes in compressed format with JPEG encoding.

Also, I plan to use IMU but in zero gravity/microgravity environment in Unity. Could that be a problem?

@RyodoTanaka
Copy link
Member

You can decompose compressed image to raw image using image_transport package.
https://index.ros.org/p/image_transport/

About IMU in zero gravity environment, I have not tried that.
Thus, I do not know what the problem will be.

@sawan-kcl
Copy link
Author

sawan-kcl commented Jul 18, 2024

thanks @RyodoTanaka for your response,
I have been using image_transport till now but this comes with processing overhead resulting in lower frame rates of raw images. The maximum frame rate i get from setting frequency in ros sensor prefabs is 45 Hz and after passing through image_transport raw image frequency is 25 Hz.
I wanted higher frame rates that's why i was wondering if there's any way to directly get raw images.

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