Just to clarify. The costmap_2d is capable of taking updates to the static map from a SLAM system such as gmapping. Any time a new map comes in over the /map topic, the static map used by the navigation stack is re-initialized. Are you sure that the global costmap of the navigation stack is configured to subscribe to this map? If so, you should be seeing the move_base node as subscribed to the /map topic.
Originally posted by eitan with karma: 2743 on 2012-01-05
This answer was ACCEPTED on the original site
Post score: 4
Original comments
Comment by ParNurZeal on 2012-01-13:
http://answers.ros.org/question/1583/whats-the-difference-between-global-and-local <-- I read your answer in this topics as well. Thank you for clarification!
Comment by ParNurZeal on 2012-01-13:
Now, I understand. Like what you said it's true. I set the global cost map not to receive static map but use rolling windows. http://answers.ros.org/question/399/navigation-stack-with-gmapping <-- this made me misunderstand.
Comment by ParNurZeal on 2012-01-09:
I see. I think I need to check it whether I set the global costmap of the navigation stack to subscribe to the map or not. Because I did not see the move_base node subscribed any /map topic. Will tell again whether this is the problem or not. Thank you very much for guiding :)
Comment by ctguell on 2014-03-10:
@ParNurZeal hi im having your same problem, when i look in the rxgraph i se a tf topic and not a map going in the move_base. Is this correct? Any help would be really appreciated @Eric Perko