Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
behaviortree_cpp/bt_factory.h
✓ #include <behaviortree_cpp/bt_factory.h>
Simple behavior tree creation and execution.
#include <behaviortree_cpp/bt_factory.h>
int main() {
BT::BehaviorTreeFactory factory;
auto tree = factory.createTreeFromText("<root main_tree_to_execute = \"MainTree\">\n <BehaviorTree ID=\"MainTree\">\n <Sequence>\n <AlwaysSuccess name=\"Action1\"/>\n </Sequence>\n </BehaviorTree>\n</root>");
tree.tickWhileRunning();
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.