rs-distance example
Can you make the rs-distance example in cpp form please? I am trying to add filter function to rs-distance example but filter and it appears all the other code is in cpp, but the examples in the C directory are just C, and use incompatible includes, in different directories.
Thank you
-
Hi Kirkpennock The C++ example program rs-hello-realsense, which prints as a non-graphical text value the distance to an object in the center of the camera's field of view, would likely fulfill your needs as an alternative to the C example rs-distance
https://github.com/IntelRealSense/librealsense/tree/master/examples/hello-realsense
You could also try the Ready to Hack example code on the librealsense GitHub front page that performs the same function.
https://github.com/IntelRealSense/librealsense#ready-to-hack
Please sign in to leave a comment.
Comments
2 comments