Groot2
Groot2 copied to clipboard
How to import a custom node defined in behavior_tree.cpp source code into Groot?
Description: I have defined a new custom node (e.g.,CustomSequenceNode) in the source code of the behavior_tree.cpp library (not in a separate project). I want to visualize and use this node in Groot, the behavior tree editor.
What steps are required to ensure Groot recognizes and imports this custom node?
Are there specific headers, registration macros, or configuration files I need to modify in the library's source code?
Any guidance on the integration process between behavior_tree.cpp and Groot for custom nodes would be greatly appreciated.
Call this function and it will write the models to file https://github.com/BehaviorTree/BehaviorTree.CPP/blob/22929a25473fee1e852fa06734e947e889b433b4/include/behaviortree_cpp/xml_parsing.h#L58
Afterwards you can import this into Groot