Go to the documentation of this file.
5 #ifdef MANUAL_STATIC_LINKING
23 <root main_tree_to_execute = "MainTree" >
25 <BehaviorTree ID="MainTree">
26 <Sequence name="root_sequence">
27 <CheckBattery name="battery_ok"/>
28 <OpenGripper name="open_gripper"/>
29 <ApproachObject name="approach_object"/>
30 <CloseGripper name="close_gripper"/>
49 #ifdef MANUAL_STATIC_LINKING
NodeStatus tickRootWhileRunning(std::chrono::milliseconds sleep_time=std::chrono::milliseconds(10))
tickRootWhileRunning imply execute tickRoot in a loop as long as the status is RUNNING.
void registerNodeType(const std::string &ID)
void registerFromPlugin(const std::string &file_path)
registerFromPlugin load a shared library and execute the function BT_REGISTER_NODES (see macro).
Abstract base class for Behavior Tree Nodes.
BT::NodeStatus CheckBattery()
static const char * xml_text
Tree createTreeFromText(const std::string &text, Blackboard::Ptr blackboard=Blackboard::create())
The BehaviorTreeFactory is used to create instances of a TreeNode at run-time.
void registerSimpleCondition(const std::string &ID, const SimpleConditionNode::TickFunctor &tick_functor, PortsList ports={})
registerSimpleCondition help you register nodes of type SimpleConditionNode.
void registerSimpleAction(const std::string &ID, const SimpleActionNode::TickFunctor &tick_functor, PortsList ports={})
registerSimpleAction help you register nodes of type SimpleActionNode.
behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Wed Jun 26 2024 02:51:19