Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PCLPointCloud2 v.s. PointCloud

I want to know the difference(s) between pcl::PCLPointCloud2 and pcl::PointCloud in PointCloud Library (PCL). There is a function to convert from one to another, but the documentation is very poor. I would like to know, which one is newer?

p.s. (I am not talking about ROS)

like image 740
NKN Avatar asked Jan 23 '14 15:01

NKN


1 Answers

  1. PCL has replaced the "sensor_msgs::PointCloud2" type to "pcl::PCLPointCloud2".

  2. PointCLoud2 is a ROS message type.

=> So you had to use the PCLPointCloud2 type in PCL when you want to have interactions with ROS.

like image 194
elaheh r Avatar answered Oct 17 '22 10:10

elaheh r