Skip to content

Commit 9c42caa

Browse files
authored
change resetMap -> resetLayers (#49)
1 parent c82a264 commit 9c42caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nav_core_adapter/src/costmap_adapter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ nav_core2::Costmap::mutex_t* CostmapAdapter::getMutex()
8383

8484
void CostmapAdapter::reset()
8585
{
86-
costmap_->resetMap(0, 0, costmap_->getSizeInCellsX(), costmap_->getSizeInCellsY());
86+
costmap_ros_->resetLayers();
8787
}
8888

8989
void CostmapAdapter::update()

0 commit comments

Comments
 (0)