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

Close distance measurement at screen center #41

Open
pjdupreez opened this issue Apr 5, 2023 · 0 comments
Open

Close distance measurement at screen center #41

pjdupreez opened this issue Apr 5, 2023 · 0 comments

Comments

@pjdupreez
Copy link

I've been trough a bit of documentation, and I have a couple of questions I cannot find answers to. Hoping someone here can assist.

What is the closest distance that can be measured. I am not talking about the depthNear clipping, which I understand, But say I have an object 15cm away in the center of the screen, will the depth sensing be able to report that distance?

Also, how do you get the distance in the center of the screen, 'getDepthInMeters()' where x and y are both '0.5' should be right in the middle of the image, right? I this is the case, I keep getting a distance between 0.5m and 0.7m (or 0m) when aiming at a surface about 20cm away? If I am misunderstanding what the depthInMeters() is meant to return, please enlighten me

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