Point cloud question.

asked 2017-11-19 08:03:25 -0500

rnunziata gravatar image

updated 2017-11-19 08:20:20 -0500

In ROS I can publish a tf of a camera frame and a point cloud and have it build a map. But what if I just wanted to publish the point cloud. Can I adjust the xzy for each point in the point cloud message relative to the camera frame pose. Does anyone know how to do this?

I am thinking maybe this is what I want: where transform is the pose.

void pcl_ros::transformPointCloud ( const pcl::PointCloud< PointT > & cloud_in, pcl::PointCloud< PointT > & cloud_out, const tf::Transform & transform )

edit retag flag offensive close merge delete