Ask Your Question

Does the navigation stack require a map

asked 2014-05-23 14:04:21 -0500

robzz gravatar image

updated 2014-05-23 14:04:44 -0500

I would like to mess around with the ROS navigation stack with a custom robot that I've built. I'm trying to figure out if it can be used to navigate in a previously unknown environment. The tutorial for setting up a robot to use the nav stack states that a map is not required. But this page on map building says that it does requires a static map. Aren't these statements contradictory? Which is true?

edit retag flag offensive close merge delete


Any luck on this?

clyde gravatar imageclyde ( 2017-01-05 17:51:29 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-05-24 00:19:01 -0500

dornhege gravatar image

If you want to drive around on a map you need one (and usually can build one). However, to just somehow drive around for testing you can configure the global costmap the same like the local costmap or just use an empty map. Obviously global planning will only be as good as what you provide it with data, but we've used this setup to quickly test navigation controllers on our robots successfully.

edit flag offensive delete link more

answered 2014-05-24 07:15:45 -0500

edwin gravatar image

you can use the navigation stack without any static map , just with set static map for both global and local false and windowing true , then you can get /map data from hector_slam and use it for your navigation .

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



Asked: 2014-05-23 14:04:21 -0500

Seen: 706 times

Last updated: May 24 '14