Converting pcl::PCLPointCloud2 to pcl::PointCloud and reverse

 

 

more about pcl point cloud and conversion

0 0 votes
Article Rating
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
batondu83
batondu83
1 year ago

Thx !!

SantK
SantK
8 months ago

Hello
 try to convert from pcl::PointCloud<pcl::PointXYZ> to pcl::PCLPointCloud2 But the conversion returns an empty point cloud.
This is my code:

I can print out the cloud “cloud_inliers” which is in the pcl::PointCloud<pcl::PointXYZ>

But the pcl::PCLPointCloud2 returns empty fields

3
0
Would love your thoughts, please comment.x
()
x