Skip to content

Commit 674f3c3

Browse files
Update plugins.hpp
1 parent 29fd097 commit 674f3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

behaviortree_ros2/include/behaviortree_ros2/plugins.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void RegisterRosNode(BT::BehaviorTreeFactory& factory,
5757
const std::filesystem::path& filepath,
5858
const BT::RosNodeParams& params)
5959
{
60-
BT::SharedLibrary loader(filepath);
60+
BT::SharedLibrary loader(filepath.generic_string());
6161
typedef void (*Func)(BT::BehaviorTreeFactory&,
6262
const BT::RosNodeParams&);
6363
auto func = (Func)loader.getSymbol("BT_RegisterRosNodeFromPlugin");

0 commit comments

Comments
 (0)