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

Using multiple laser scans for gmapping [closed]

asked 2021-09-30 11:24:55 -0600

Kevin1719 gravatar image

updated 2021-10-03 11:27:16 -0600

Mike Scheutzow gravatar image

Hi, I'm trying to do the SLAM mapping with gmapping on my robot, which has 2 lasers on it, in the font and in the back of the robot. So how can I use 2 laser scans for gmapping, since gmapping only subscribes 1 /scan topic ?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Kevin1719
close date 2021-10-05 05:42:32.926162

Comments

1

Search for fusion of data sensors like in question /#q273572

osilva gravatar image osilva  ( 2021-10-01 18:13:11 -0600 )edit

Thanks a lot :)

Kevin1719 gravatar image Kevin1719  ( 2021-10-01 21:54:09 -0600 )edit
1

You can also do a search on merge scans in the dialog box at the top of this page, and you will get a lot of hits. If you find a solution that someone else made that works for you, you can help out the community by answering your own question and providing a url.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-10-03 10:02:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-10-03 11:10:42 -0600

Kevin1719 gravatar image

Thanks to Mike Scheutzow's help, I have merged my scans for gmapping, by following this question. it worked like a charm, using two lidars helps the mapping process much faster and as accurate as using only one lidar.

edit flag offensive delete link more

Comments

1

I'm glad you found a solution.

The question you point at appears to use the laserscan_multi_mergerfrom https://github.com/iralabdisco/ira_la...

Mike Scheutzow gravatar image Mike Scheutzow  ( 2021-10-03 11:26:01 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-09-30 11:24:55 -0600

Seen: 444 times

Last updated: Oct 03 '21