update file voxel_layer
This commit is contained in:
@@ -47,7 +47,7 @@ void InflationLayer::onInitialize()
|
||||
getParams();
|
||||
}
|
||||
|
||||
matchSize();
|
||||
InflationLayer::matchSize();
|
||||
}
|
||||
|
||||
bool InflationLayer::getParams()
|
||||
@@ -350,12 +350,19 @@ void InflationLayer::setInflationParameters(double inflation_radius, double cost
|
||||
}
|
||||
}
|
||||
|
||||
void InflationLayer::handleImpl(const void* data,
|
||||
const std::type_info& info,
|
||||
const std::string& source)
|
||||
{
|
||||
printf("This function is not available!\n");
|
||||
}
|
||||
|
||||
// Export factory function
|
||||
static PluginLayerPtr create_inflation_plugin() {
|
||||
return std::make_shared<InflationLayer>();
|
||||
}
|
||||
|
||||
// Alias cho Boost.DLL (nếu muốn dùng boost::dll::import_alias)
|
||||
BOOST_DLL_ALIAS(create_inflation_plugin, create_plugin_layer)
|
||||
BOOST_DLL_ALIAS(create_inflation_plugin, create_plugin)
|
||||
|
||||
} // namespace costmap_2d
|
||||
|
||||
Reference in New Issue
Block a user