33 const Eigen::Matrix4f& pointCloudPose,
34 const Eigen::Matrix4f& gridPose)
44 const Eigen::Matrix4f gridPoseInv = math::Helpers::InvertedPose(gridPose);
46 const Eigen::Matrix4f tfPointCloud2Grid = gridPoseInv * pointCloudPose;
48 pcl::PointCloud<PointT> transformed;
49 pcl::transformPointCloud(pointCloud, transformed, tfPointCloud2Grid);
pcl::PointCloud< PointT > transformPointCloudToGrid(const pcl::PointCloud< PointT > &pointCloud, const Eigen::Matrix4f &pointCloudPose, const Eigen::Matrix4f &gridPose)
Transform a point cloud to local grid coordinates.