I haven't got much experience with Lidar. I have OS2-128 Lidar and currently able to extract the point cloud data using ouster_client lib in C++ and display it in PCL viewer. I am wondering what would be the good approach to find the relative distance of objects from Lidar.
I know that, distance = (c *t)/2 where,
c = speed of light
t = measured time t (between emitting and receiving the signal).
But don't know how to get time (t).
Any help will be much appreciated.