@iStarLee
2018-09-27T01:10:44.000000Z
字数 499
阅读 304
pcl
一共有三种类型互相转换
//sensor_msgs::PointCloud2 ======> pcl::PCLPointCloud2
pcl_conversions::toPCL()
//sensor_msgs::PointCloud2 <====== pcl::PCLPointCloud2
pcl_conversions::fromPCL()
//sensor_msgs::PointCloud2 ======> pcl::PointCloud
pcl::fromROSMsg()
//sensor_msgs::PointCloud2 <====== pcl::PointCloud
pcl::toROSMsg()
//pcl::PCLPointCloud2 ======> pcl::PointCloud
pcl::fromPCLPointCloud2()
//pcl::PCLPointCloud2 <====== pcl::PointCloud
pcl::toPCLPointCloud2()