BehaviorTree / BehaviorTree.ROS2

BehaviorTree.CPP utilities to work with ROS2
Apache License 2.0
144 stars 59 forks source link

Fix/register node into factory #64

Closed kenyoshizoe closed 4 months ago

kenyoshizoe commented 4 months ago

close #61

As explained in #61 and #62, there is an issue with behavior tree loading due to the inability to call virtual functions in the constructor. This PR resolves that issue by postponing the plugin and behavior tree registration to the execute() function.

facontidavide commented 4 months ago

please have a look at #65 instead