I try to combine 2 examples Depth Sensing and Advanced point cloud mapping. Link
I am successfully getting output with Depth-Sensing but I am not able to do point mapping in my problem. Also, I am not getting any type of error. When the program starts I can see a very small dot/pixel which moves when I move the camera but it’s not drawing any line or anything.
Also, I am combining 2 programs Advanced cloud mapping and a depth-sensing program. I can see the output of depth-sensing program but not cloud mapping project. To check depth-sensing program is working or not just remove the comment of line 136 and you will see the depth-sensing program.