source: http://stackoverflow.com/questions/4232842/how-to-dynamically-change-filename-while-writing-in-a-loop
How to save pcdfiles in a loop ?
In the code segment below, count increments as the new point cloud comes in...
char file_name[64];
sprintf (file_name, "file%d.pcd", count);
pcl::io::savePCDFile(file_name, *cloud);
How to save pcdfiles in a loop ?
In the code segment below, count increments as the new point cloud comes in...
char file_name[64];
sprintf (file_name, "file%d.pcd", count);
pcl::io::savePCDFile(file_name, *cloud);
No comments:
Post a Comment