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

PointCloud To LaserScan

asked 2018-04-17 08:58:34 -0600

Dieisson Martinelli gravatar image

Hello. I'm new to ros.I set my scene in VREP and got my robot using kinect. I'm trying to create a map of the environment, but for this I need to convert the data from pointcloud to laserscan, but I have no idea how to do this.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2018-04-17 13:01:02 -0600

jayess gravatar image

updated 2018-07-06 02:48:31 -0600

Please see:

This has been asked many times before, but it can be a little difficult to find these answers using the search function on the site. You can try entering the following search terms in Google:


where <question> is your question. This will perform a search of ROS Answers using your question as a term.

For example, your question would be:

edit flag offensive delete link more


Funnily enough, the links provided mostly talk about how to convert a laserscan into a pointcloud :)

paulbovbel gravatar image paulbovbel  ( 2018-07-06 01:12:27 -0600 )edit

Good catch. This is what happens when you have too many tabs open at once.

jayess gravatar image jayess  ( 2018-07-06 01:42:23 -0600 )edit

answered 2018-07-06 01:10:56 -0600

paulbovbel gravatar image

There is a package to convert pointclouds to laserscans - . The parameters are documented on the wiki, and some sample launch files are provided in the package source.

edit flag offensive delete link more

answered 2018-07-06 02:43:03 -0600

pavel92 gravatar image

This question tackles the same problem (but with velodyne pointcloud) using the pointcloud_to_laserscan package.
Here is another example of converting pointcloud to laserscan that you can checkout.

edit flag offensive delete link more

Question Tools



Asked: 2018-04-17 08:58:34 -0600

Seen: 2,656 times

Last updated: Jul 06 '18