atenpas / gpg

Generate grasp pose candidates in point clouds
BSD 2-Clause "Simplified" License
103 stars 59 forks source link

cloud_camera: fix issue #6 #7

Open sharronliu opened 5 years ago

sharronliu commented 5 years ago

Added parameters to specify the number of dimensions to consider for each point, When invoking pcl::PointCloud< PointT >::getMatrixXfMap()

Signed-off-by: Sharron LIU sharron.liu@intel.com

sharronliu commented 5 years ago

I tested this patch does not work as expected when generating grasp candidate. I'll update the patch and get back soon. Thanks.

sharronliu commented 5 years ago

@atenpas updated the patch, should be fine now. For each point in the cloud_normals computed, there're 8 values, and only the first 3 values are expected in the matrix normals_

see PCL doc for here