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

PointCloud To LaserScan

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

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
1

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

jayess gravatar image

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

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:

<question> site:answers.ros.org

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:

https://www.google.com/search?q=conve...

edit flag offensive delete link more

Comments

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 -0500 )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 -0500 )edit
1

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

paulbovbel gravatar image

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

edit flag offensive delete link more
1

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

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

3 followers

Stats

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

Seen: 2,678 times

Last updated: Jul 06 '18