converting PointCloud2 to pcl::PointCloud is slow with RGB field
I measured a time to convert sensor_msgs::PointCloud2
, pcl::PointCloud
and pcl::PCLPointCloud2
.
https://github.com/garaemon/pcl_ros_c...
I found that converting from pcl::PCLPointCloud2
to pcl::PointCloud
takes a long time when the input data had RGB field.
Is there any way to speed up this conversion?