3dtof/voxelsdk

how to get sensor_msgs::PointCloud2 ?

Opened this issue · 0 comments

Hi everyone,

I am trying to use get PointCloud2 messages from this package however as far as I see currently there is no support in this SDK. Also, I will use PointCloud2 in ROS. So far I could visualize some shape with PointCloud but I also want to make it with PointCloud2.

I want to ask your ideas and assistance to show me which one is better to get PointCloud2 :

  1. Writing a new node to publish and subscribe PointCloud2 ? In this case I wonder if I will need to write and/or add new header files to include folder? (for example if I will need to transform LaserScan...)

  2. Or can I use --> sensor_msgs::convertPointCloudToPointCloud2

I will be very happy if you can propose a choice with any explanation.
Thank you!