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

Adding functionality to set CloseRange property #50

Open
wnklmx opened this issue Aug 28, 2017 · 0 comments
Open

Adding functionality to set CloseRange property #50

wnklmx opened this issue Aug 28, 2017 · 0 comments

Comments

@wnklmx
Copy link

wnklmx commented Aug 28, 2017

While testing the new Asus Xtion 2 (which is a great unit btw, anybody who wants more information is welcome to ask) I found out that it features a close range mode.
I can toggle it in the newest version of the NiViewer and the important part of the code can be found here:
https://github.com/OpenNI/OpenNI2/blob/115cf06c6efea32304182d293eca16ca883c9150/Source/Tools/NiViewer/Device.cpp#L365

It would be great to have the functionality to set this property in ROS.

There are two reasons for this:
First thing is that in close range mode it is possible to see objects down to a distance between approx. 10 to 25 cm depending on the color and surface.
This is a huge benefit for navigation in narrow environments.
Whereas the second point is crucial for some applications:
The Xtion 2 is based on TOF and not Structured Light. This introduces the problem with non explicit distance values.
Today I did some testing and in normal mode at a distance of approx. 11 meters the objects (a white wall in my case) led to points directly in front of the camera.
The close range mode dims the emitter so that when it is activated instead of getting wrong values I get no distance values from objects with a distance greater than 11 meters. Which surely is the better deal.

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

1 participant