ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Global and local costmap

asked 2018-11-22 09:01:25 -0600

Ivan_Sanchez gravatar image

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!!

edit retag flag offensive close merge delete

Comments

Have you seen #q10620 ?

Delb gravatar image Delb  ( 2018-11-22 09:39:54 -0600 )edit

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.

Ivan_Sanchez gravatar image Ivan_Sanchez  ( 2018-11-22 14:39:58 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-11-23 01:38:14 -0600

pmuthu2s gravatar image

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!

edit flag offensive delete link more

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!!

Ivan_Sanchez gravatar image Ivan_Sanchez  ( 2018-11-23 03:17:31 -0600 )edit

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!

pmuthu2s gravatar image pmuthu2s  ( 2018-11-23 11:27:42 -0600 )edit

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."

pmuthu2s gravatar image pmuthu2s  ( 2018-11-23 11:30:25 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2018-11-22 09:01:25 -0600

Seen: 8,930 times

Last updated: Nov 23 '18