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

Is the topic:/r200/camera/depth/image_rect has been aligend to color image? #34

Open
TouchDeeper opened this issue Apr 20, 2019 · 6 comments

Comments

@TouchDeeper
Copy link

Hello,
Is the topic:/r200/camera/depth/image_rect has been aligend to color image?

@SyrianSpock
Copy link
Owner

I don't understand the issue 😅
Is this related to #11 ?

@TouchDeeper
Copy link
Author

TouchDeeper commented Apr 20, 2019

Sorry, I have a mistake, "aligend" should be "aligned".
The depth image is generated by the infrared camera. The color image is generated by the color camera.
So there exists a transformation between raw depth image and raw color image.
In general, the depth image will be transformed into the color image. that is the aligned depth image.
But the topic published by the realsense_gazebo_plugin only has one topic about depth image, so I ask is the topic /r200/camera/depth/image_rect has been aligned to color image.

@Maik93
Copy link

Maik93 commented Apr 20, 2019 via email

@TouchDeeper
Copy link
Author

It seems like that depth and RGB images are not aligned indeed from the image below:
2019-04-21 09-33-19屏幕截图
You can see the color information of the left edge of the coke can have the shifts so it seems like be projected into the floor.

@youliangtan
Copy link

Hi, I also faced this alignment issue while trying to use this plugin. The quick fix is to make changes on realsense-RS200.macro.xacro urdf file.
I just made a quick change to both the depth and color sensor input, making sure both <pose frame=""> values are the same. This will work, but it's not appropriate. Hopefully there will be future enhancement on this alignment.

Screenshot from 2019-10-09 13-35-08

Also, is there any plan to work on realsense d4XX series plugin?

@kmfrick
Copy link

kmfrick commented Mar 27, 2020

I just made a quick change to both the depth and color sensor input, making sure both <pose frame=""> values are the same. This will work, but it's not appropriate.

Why is it not "appropriate"?

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

5 participants