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

@@ -34,10 +34,10 @@ void CriticalLayer::updateCosts(costmap_2d::Costmap2D& master_grid, int min_i, i
}
// Export factory function
static PluginPtr create_critical_plugin() {
static PluginStaticLayerPtr create_critical_plugin() {
return std::make_shared<CriticalLayer>();
}
// Alias cho Boost.DLL (nếu muốn dùng boost::dll::import_alias)
BOOST_DLL_ALIAS(create_critical_plugin, create_plugin)
BOOST_DLL_ALIAS(create_critical_plugin, create_plugin_static_layer)
}