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

Convert sensor_msgs/PointCloud2 to sensor_msgs/LaserScan

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

Flowers gravatar image

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

ngrennan gravatar image

Hey,

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
3

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

Lorenz gravatar image

pointcloud_to_laserscan is probably the package you are looking for.

edit flag offensive delete link more

Comments

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

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

Question Tools

Stats

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

Seen: 5,799 times

Last updated: Jul 05 '12