6 #ifdef MANUAL_STATIC_LINKING 15 <root main_tree_to_execute = "MainTree" > 17 <BehaviorTree ID="MainTree"> 18 <Sequence name="root_sequence"> 19 <SayHello name="action_hello"/> 20 <OpenGripper name="open_gripper"/> 21 <ApproachObject name="approach_object"/> 22 <CloseGripper name="close_gripper"/> 45 #ifdef MANUAL_STATIC_LINKING 72 tree.root_node->executeTick();
void registerNodeType(const std::string &ID)
const std::string xml_text
void registerSimpleCondition(const std::string &ID, const SimpleConditionNode::TickFunctor &tick_functor)
Register a SimpleConditionNode.
BT::NodeStatus CheckTemperature()
void registerSimpleAction(const std::string &ID, const SimpleActionNode::TickFunctor &tick_functor)
Register a SimpleActionNode.
void registerFromPlugin(const std::string file_path)
registerFromPlugin load a shared library and execute the function BT_REGISTER_NODES (see macro)...
BT::NodeStatus CheckBattery()
Tree buildTreeFromText(const BehaviorTreeFactory &factory, const std::string &text, const Blackboard::Ptr &blackboard=Blackboard::Ptr())