how to compute the centroid of the PointCloud2
I am considering how can I compute the centroid of sensor_msgs/PointCloud2, is there a direct way to do this? Because I only find he pcl::CentroidPoint< PointT > Class Template Reference *[link text] ( http://docs.pointclouds.org/trunk/cla... ) on the website.