Ask Your Question
0

What is the best mapping/localization package for using pre-made maps?

asked 2017-05-18 21:40:52 -0500

Rwl gravatar image

I am currently attempting to map a building using the gmapping package, but I have some issues with the accuracy of my map. Right now I'm relying on the wheel odometry and a 2D laser scan. I figure I can make the map more accurate if I can use an existing floor plan and localize based on that, but I'm not entirely sure of how to draw and dimension a map for usage with a package. I also don't know which package would allow me to import this map and best localize based on it. Any help would be greatly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-05-18 23:09:17 -0500

ufr3c_tjc gravatar image

The amcl package is a popular choice for localizing within premade maps. However, I've only ever used it to localize within maps I created using gmapping. You could theoretically fill out a nav_msgs/OccupancyGrid message by hand, or through some other method, to generate your map, and then publish it to amcl. However, this may not work how you expect, as the robot's view of the building is percepted only through its laser scan. Anything that is the same height as the laser will be picked up in a scan, including chairs, desks, plants etc. Just inputting walls into a map won't work if there is anything except bare walls within your building.

I would personally recommend improving the odometry and using gmapping to get the map.

edit flag offensive delete link more

Comments

This is about the answer I was thinking I was going to get. Fortunately for my case, all objects in the room are stationary, and square. However, I was thinking it would be more time consuming and difficult to navigate effectively based off of an existing map than it would be to just use gmapping.

Rwl gravatar image Rwl  ( 2017-05-18 23:17:57 -0500 )edit

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: 2017-05-18 21:40:52 -0500

Seen: 1,619 times

Last updated: May 18 '17