You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for adding the new and exciting feature, BT::TreeExecutionServer.
I attempted to create my own class by inheriting from BT::TreeExecutionServer, but it seems that the registerNodesIntoFactory I inherited is not functioning properly. When attempting to load a behavior tree containing the Node added within registerNodesIntoFactory, the following error occurs:
[ERROR] [1715003079.255998664] [bt_action_server]: Failed to load BehaviorTree: tree.xml
Error at line 7: -> Node not recognized: MyNode
This issue seems to be caused by two reasons:
The registerNodesIntoFactory called within the constructor of BT::TreeExecutionServer is its own rather than that of the inheriting class.
RegisterBehaviorTrees() is called before registerNodesIntoFactory() is invoked.
Thank you for adding the new and exciting feature,
BT::TreeExecutionServer
.I attempted to create my own class by inheriting from
BT::TreeExecutionServer
, but it seems that theregisterNodesIntoFactory
I inherited is not functioning properly. When attempting to load a behavior tree containing the Node added within registerNodesIntoFactory, the following error occurs:This issue seems to be caused by two reasons:
BehaviorTree.ROS2/behaviortree_ros2/src/tree_execution_server.cpp
Lines 73 to 95 in 8790909
BehaviorTree.ROS2/behaviortree_ros2/src/bt_utils.cpp
Lines 137 to 167 in 8790909
The text was updated successfully, but these errors were encountered: