perception_pcl
perception_pcl copied to clipboard
Organize point cloud
Hey, so I've got a point cloud of type PointCloudXYZI::Ptr
from a lidar only, which then gets converted to a sensor_msgs::PointCloud2
, but it's unorganized. My goal would be to be able to use the existing convert_point_cloud_to_image
node to get an image topic but I am not sure how to organize the point cloud. Are there existing methods to do that or would I have to write my own?
Have you solved? Does your Lidar provides points in a matrix form (i.e. ordered as pixels, such that there is a corresponding pinhole camera model or a CameraInfo message available)?