ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Convert Sensor_msg/LaserScan to Sensor_msg/PointCloud2

asked 2017-07-07 02:33:00 -0600

Nikka gravatar image

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 Sensor_msg/LaserScan to 3D Sensor_msg/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

edit retag flag offensive close merge delete


did you solve this problem? @Nikka

Mekateng gravatar image Mekateng  ( 2017-10-06 16:26:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-07-07 02:44:35 -0600

gvdhoorn gravatar image

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

edit flag offensive delete link more


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

Nikka gravatar image Nikka  ( 2017-07-07 03:09:32 -0600 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2017-07-07 03:46:13 -0600 )edit

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.

Nikka gravatar image Nikka  ( 2017-07-07 04:56:09 -0600 )edit

Question Tools

1 follower


Asked: 2017-07-07 02:33:00 -0600

Seen: 1,099 times

Last updated: Jul 07 '17