Robotics StackExchange | Archived questions

Global and local costmap

Hi!!

I was looking the navigation stack of ros and I don't understand the purpose of the global and local costmap... What is the aim of each one and what kind of information is stored in each one?

Thank you so much for your help!!

Asked by Ivan_Sanchez on 2018-11-22 10:01:25 UTC

Comments

Have you seen #q10620 ?

Asked by Delb on 2018-11-22 10:39:54 UTC

Hi,

Yes, i saw It. But I do not understand what kind of information is store in the global costmap to be used by the global planner. If anyone can explain me something using an example It would be perfect...

Sincerely.

Asked by Ivan_Sanchez on 2018-11-22 15:39:58 UTC

Answers

Hey,

ROS navigation tutorial this documentation should be able to explain to you.

All the parameters associated with the cost-maps are explained clearly.

Hope this helps !

cheers!

Asked by pmuthu2s on 2018-11-23 02:38:14 UTC

Comments

Hi,

So for example, if my global planner computes the shortest path from one point to other over an OSM map, would the global costmap have stored the distance of the streets? Is in this case the OSM map the map_server and the global costmap the distances of the streets?

Thank you for your help!!

Asked by Ivan_Sanchez on 2018-11-23 04:17:31 UTC

According to this documentation the cost map will be maintaining the information about where the robot should be traveling in the form of an occupancy grid. That being said, for navigation stack we have 2 costmaps, Global cost map and local cost map!

Asked by pmuthu2s on 2018-11-23 12:27:42 UTC

In this link according to eitan "Global planner uses the global costmap to generate a long-term plan while the local planner uses the local costmap to generate a short-term plan."

Asked by pmuthu2s on 2018-11-23 12:30:25 UTC