update file voxel_layer
This commit is contained in:
@@ -19,7 +19,6 @@ namespace costmap_2d
|
||||
void ObstacleLayer::onInitialize()
|
||||
{
|
||||
rolling_window_ = layered_costmap_->isRolling();
|
||||
|
||||
|
||||
ObstacleLayer::matchSize();
|
||||
current_ = true;
|
||||
@@ -103,7 +102,7 @@ bool ObstacleLayer::getParams()
|
||||
|
||||
printf(
|
||||
"Created an observation buffer for topic %s, global frame: %s, "
|
||||
"expected update rate: %.2f, observation persistence: %.2f",
|
||||
"expected update rate: %.2f, observation persistence: %.2f\n",
|
||||
topic.c_str(), global_frame_.c_str(), expected_update_rate, observation_keep_time);
|
||||
|
||||
}
|
||||
@@ -517,7 +516,7 @@ void ObstacleLayer::reset()
|
||||
}
|
||||
|
||||
// Export factory function
|
||||
static PluginCostmapLayerPtr create_obstacle_plugin() {
|
||||
static PluginLayerPtr create_obstacle_plugin() {
|
||||
return std::make_shared<ObstacleLayer>();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user