3dtof / voxelsdk

VoxelSDK - an SDK supporting TI's 3D Time of Flight cameras
BSD 3-Clause "New" or "Revised" License
108 stars 71 forks source link

how to get sensor_msgs::PointCloud2 ? #180

Open adaltun opened 5 years ago

adaltun commented 5 years ago

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!