update file voxel_layer
This commit is contained in:
@@ -445,11 +445,11 @@ void VoxelLayer::matchSize()
|
||||
// }
|
||||
|
||||
// Export factory function
|
||||
static PluginObstacleLayerPtr create_voxel_plugin() {
|
||||
static PluginLayerPtr create_voxel_plugin() {
|
||||
return std::make_shared<VoxelLayer>();
|
||||
}
|
||||
|
||||
// Alias cho Boost.DLL (nếu muốn dùng boost::dll::import_alias)
|
||||
BOOST_DLL_ALIAS(create_voxel_plugin, create_obstacle_plugin)
|
||||
BOOST_DLL_ALIAS(create_voxel_plugin, create_plugin)
|
||||
|
||||
} // namespace costmap_2d
|
||||
|
||||
Reference in New Issue
Block a user