Robotics StackExchange | Archived questions

Convert Sensor_msg/LaserScan to Sensor_msg/PointCloud2

Hello everyone,

I have my hokuyo lidar with me, i want to create the 3D Point cloud using Lidar. For that I want to convert 2D Sensormsg/LaserScan to 3D Sensormsg/PointCloud, I have tried the laser_pipeline library to covert it,but failed to do that. can anyone please help me with this? thanks you

Asked by Nikka on 2017-07-07 02:33:00 UTC

Comments

did you solve this problem? @Nikka

Asked by Mekateng on 2017-10-06 16:26:53 UTC

Answers

You can probably use the laser_scan_assembler node for this. It's in the laser_assembler package.

Asked by gvdhoorn on 2017-07-07 02:44:35 UTC

Comments

can you please guide me about how to use laser_scan_assembler?? It will be really helpful

Asked by Nikka on 2017-07-07 03:09:32 UTC

There are example launch files in section 4.3, and sections 4.4 and 4.5 provide examples in both Python and C++ that show how to interact with the node. Section 5 has a link to a tutorial.

Asked by gvdhoorn on 2017-07-07 03:46:13 UTC

Thank you for help I have created the launch file and execute it. While the bag file is running, but not able to create new PointCloud based file.

Asked by Nikka on 2017-07-07 04:56:09 UTC