update file obstacle_layer and file test plugin

This commit is contained in:
2025-11-12 17:38:38 +07:00
parent 19683269c3
commit c94de60a7b
12 changed files with 393 additions and 517 deletions

View File

@@ -362,11 +362,11 @@ void InflationLayer::setInflationParameters(double inflation_radius, double cost
}
// Export factory function
static PluginCostmapLayerPtr create_inflation_plugin() {
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)
BOOST_DLL_ALIAS(create_inflation_plugin, create_plugin_layer)
} // namespace costmap_2d