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

How to speed up map building with gmapping?

asked 2018-04-12 06:40:52 -0500

Hakaishin gravatar image

I have a pipeline that tries different parameters of gmapping and save the results to a folder. After letting them run I can just examine the pictures and see which maps turned out well and chose those parameters in the future. Now my rosbag that I play is 6 minutes longs, so every run takes 6 minutes with the amount of parameters there are in gmapping it would take days to test even the most important ones. Now I know I can replay the rosbags at a faster rate, but when I do that gmapping creates very strange looking maps and they are all distorted. I am using "rosparam set use_sim_time True" before running my bag and gmapping. Not sure if this prevents gmapping of getting the speed up bags correctly. Is there some way to increase the speed at which gmapping can create a map from a rosbag that is being played faster?

Small side question: What would be the most important parameters probably for a differential drive robot to test for. Right now I test minimumScore, resampleThreshold, particles. Are the other important ones, or a guideline how to tune these parameters?

edit retag flag offensive close merge delete

Comments

1

have you found an answer to this? can you share how you done this pipeline?

rezenders gravatar image rezenders  ( 2021-05-11 09:43:50 -0500 )edit
1

In the end I ended up just running many simulations with normal speed after a few days I found some useful parameters, but they will be highly environment specific and sharing them here wouldn't be useful

Hakaishin gravatar image Hakaishin  ( 2021-08-25 02:47:29 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-08-25 02:53:35 -0500

Hakaishin gravatar image

In the end I ended up just running many simulations with normal speed after a few days I found some useful parameters, but they will be highly environment specific and sharing them here wouldn't be useful

edit flag offensive delete link more

Comments

Hi mate, Did you publish a work related to gmapping parameters ? Thanks.

Zuhair95 gravatar image Zuhair95  ( 2022-07-23 11:39:23 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-04-12 06:40:52 -0500

Seen: 354 times

Last updated: Aug 25 '21