8 int main(
int argc,
char** argv)
15 std::cout <<
" missing name of the XML file to open" << std::endl;
24 std::cout <<
writeXML(factory, tree.root_node,
true) << std::endl;
25 std::cout <<
"-----------------------" << std::endl;
27 tree.root_node->executeTick();
int main(int argc, char **argv)
void printTreeRecursively(const TreeNode *root_node)
std::string writeXML(const BehaviorTreeFactory &factory, const TreeNode *root_node, bool compact_representation=false)
void RegisterNodes(BT::BehaviorTreeFactory &factory)
Tree buildTreeFromFile(const BehaviorTreeFactory &factory, const std::string &filename, const Blackboard::Ptr &blackboard=Blackboard::Ptr())