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

Convert sensor_msgs/PointCloud2 to sensor_msgs/LaserScan

asked 2012-07-05 03:34:00 -0500

Flowers gravatar image

updated 2014-01-28 17:12:55 -0500

ngrennan gravatar image


I'd like to use the hector_slam package for mapping.

The package requires sensor_msgs/LaserScan data, while my sensor does a 3D scan, which is converted to sensor_msgs/PointCloud2 data.

As it looks, this is quite uncommon and usually people want to make 3D PCL2 scan from their 2D laser scans.

So, are there any packages which can do the conversion I seek?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2012-07-05 03:37:42 -0500

Lorenz gravatar image

pointcloud_to_laserscan is probably the package you are looking for.

edit flag offensive delete link more


I'm really feeling kind of stupid right now....really, really thank you :-)

Flowers gravatar image Flowers  ( 2012-07-05 04:00:07 -0500 )edit

Question Tools


Asked: 2012-07-05 03:34:00 -0500

Seen: 5,720 times

Last updated: Jul 05 '12