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

How to get RGB image from realsense L515 depth camera #1523

Closed
kashishdhal opened this issue Nov 25, 2020 · 4 comments
Closed

How to get RGB image from realsense L515 depth camera #1523

kashishdhal opened this issue Nov 25, 2020 · 4 comments

Comments

@kashishdhal
Copy link

Hello,

I am using the L515 camera to get the point cloud with the launch file rs_camera.launch. However, I want to get an RGB image along with the depth image. But I am not able to see /camera/color/image_raw topic being published. I am only able to see the depth data coming over the ROS topics.

Please help me to get the RGB image.

Regards,
Kashish Dhal

@yuzhou42
Copy link

Hi Kashish, I just figure this out. In order to get the l515 color image, you will need to change the image size in the launch file. Because l515 doesn't support 640x480. You can choose anyone from 960x540, 1280x720 and 1920x1080.

Yu

@kashishdhal
Copy link
Author

Hello @yuzhou42 ,

Thanks for the reply! One question, will that also change the resolution of the depth image?

@yuzhou42
Copy link

Hi @kashishdhal, it won't change the resolution of depth. They are using different parameters.

@kashishdhal
Copy link
Author

Hello @yuzhou42 ,

Thanks, it worked!

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