sensor_msgs::PointCloud2转换pcl::PCLPointCloud2 pcl::PointXYZ
订阅雷达的数据(sensor_msgs::PointCloud2),需要对其进行解析,转换为pcl::PCLPointCloud2的办法:sudoapt-getinstallros-melodic-pcl-conversionssudoapt-getinstallros-pcl-msgssudoapt-getinstallros-melodic-pcl-rossudoapt-getinstallr