Ask Your Question
1

How to speed up map building with gmapping?

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

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

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 -0600 )edit

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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 216 times

Last updated: Aug 25 '21