ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You can use point cloud library to read the incoming sensor_msgs::PointCloud/2. An example can be found on the official ros tutorial page. Once you have the data, you can use savePCDFileASCII to save it in a format you like. Just FYI: point clouds are usually stored in .pcd, .sty, .obj formats.

pcl::io::savePCDFileASCII ("test_pcd.pcd", cloud);

You can use point cloud library to read the incoming sensor_msgs::PointCloud/2. An example can be found on the official ros tutorial page. Once you have the data, you can use savePCDFileASCII to save it in a format you like. Just FYI: point clouds are usually stored in .pcd, .sty, .sty or .obj formats.

pcl::io::savePCDFileASCII ("test_pcd.pcd", cloud);

You can use point cloud library to read the incoming sensor_msgs::PointCloud/2. An example can be found on the official ros tutorial page. Once you have the data, you can use savePCDFileASCII to save it in a format you like. Just FYI: point clouds are usually stored in .ply, .pcd, .sty or .obj formats.

pcl::io::savePCDFileASCII ("test_pcd.pcd", cloud);

click to hide/show revision 4
No.4 Revision

You can use point cloud library to read the incoming sensor_msgs::PointCloud/2. An example can be found on the official ros tutorial page. Once you have the data, you can use savePCDFileASCII to save it in a format you like. Just FYI: point clouds are usually stored in .ply, .pcd, .sty or .obj formats.

pcl::io::savePCDFileASCII ("test_pcd.pcd", cloud);

cloud);