Skip to content

Commit fcdb7ff

Browse files
committed
Remove unnecessary map.static.update deactivation
1 parent 49e0b84 commit fcdb7ff

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

maps_managers/easynav_costmap_maps_manager/src/easynav_costmap_maps_manager/CostmapMapsManager.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ CostmapMapsManager::update(NavState & nav_state)
190190
// Update internal map with navstate static map
191191
if (nav_state.has("map.static.update") && nav_state.get<bool>("map.static.update")) {
192192
static_map_ = nav_state.get<Costmap2D>("map.static");
193-
nav_state.set("map.static.update", false);
194193

195194
// Publish to static map topic
196195
static_map_.toOccupancyGridMsg(static_grid_msg_);

0 commit comments

Comments
 (0)