LimHyungTae / patchwork

SOTA fast and robust ground segmentation using 3D point cloud (accepted in RA-L'21 w/ IROS'21)
MIT License
481 stars 75 forks source link

How to show pointcloud frame by frame? #16

Closed mc171819 closed 2 years ago

mc171819 commented 2 years ago

Hi, it's a wonderful work! I'm a new user of ROS and I wonder how can I show the result of patchwork frame by frame, since your work show the result in a video-like style.

LimHyungTae commented 2 years ago

Hello @mc171819 ! Sorry for late reply due to the preparation of my graduation :(

Plase use below snippet!

if (stop_for_each_frame) {
            cout<< "[Debug]: STOP!" <<endl;
            cin.ignore();
        }

Then, the frame would be stopped before you press any keys.