# Using a static costmap for local navigation

I want to use a static map provided by map_server to populate the obstacles used for both global and local navigation by move_base (Assuming a completely static environment, no dynamic obstacles). Using the exact same parameters for both the local and the global map produces different results. The global costmap behaves as expected, being populated with inflated obstacles, while the local costmap remains empty. As such global navigation plans look excellent while execution involves locally optimizing the route through walls.

local_costmap: # And also global_costmap