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

 

 

more about pcl point cloud and conversion

5 1 vote
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
3 years ago

Thx !!

SantK
SantK
2 years 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