How do i get the distance of the closest object from intel realsense d435?
I am trying to build a map while the robot autonomously navigates which requires me to detect obstacles. I am using realsense d435 and was thinking about getting the distance of the obstacle and turning away when it is close enough. I was thinking of using opencv but I wanted to use distance data from the realsense