You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, my lab is working on a distance test with LiDAR L515, and I was asked to know how to calculate the distance.
We use "depth.get_distance(X, Y)", as the code sample "rs-hello-realsense" to get the distance(Z) from the center of image to the camera.
I found the calculation method which might be similar with this code on #2348:
It looks that we can find the number of depth by "depth.get_frame_data()". However, can we know how is the value of data[0] calculated? In other words, how does the camera calculate the distance between the camera and the center of image?
At start I though it uses (light speed * time)/2, but this method need a reaction time near picosecond based on its precision. It is hard to believe. Does anyone has any idea about that? Thanks.
The text was updated successfully, but these errors were encountered:
We don't necessarily get to in depth with regards to providing exactly how depth is calculated by our algorithm.
We do have some documentation around the camera and the technology that should be helpful but again it won't provide the exacts around our algo calculations.
@RealSenseSupport
Thanks for your reply. I know my question may be not suitable, but this answer help me a lot as well. I found the two documents before I post this issue, but I didn't find what we want. Now I can tell the Party A that we can not get that. Thank you very much!
I will close it after this. Thanks
Issue Description
Hello, my lab is working on a distance test with LiDAR L515, and I was asked to know how to calculate the distance.
We use "depth.get_distance(X, Y)", as the code sample "rs-hello-realsense" to get the distance(Z) from the center of image to the camera.
I found the calculation method which might be similar with this code on #2348:
It looks that we can find the number of depth by "depth.get_frame_data()". However, can we know how is the value of data[0] calculated? In other words, how does the camera calculate the distance between the camera and the center of image?
At start I though it uses (light speed * time)/2, but this method need a reaction time near picosecond based on its precision. It is hard to believe. Does anyone has any idea about that? Thanks.
The text was updated successfully, but these errors were encountered: