1 #ifndef SIMPLE_BT_NODES_H 2 #define SIMPLE_BT_NODES_H 35 BT::SyncActionNode(name, {})
49 :
BT::SyncActionNode(name, config)
59 return{ BT::InputPort<std::string>(
"message") };
80 #endif // SIMPLE_BT_NODES_H
void registerNodeType(const std::string &ID)
static BT::PortsList providedPorts()
void RegisterNodes(BT::BehaviorTreeFactory &factory)
The SyncActionNode is an ActionNode that explicitly prevents the status RUNNING and doesn't require a...
The BehaviorTreeFactory is used to create instances of a TreeNode at run-time.
ApproachObject(const std::string &name)
void registerSimpleAction(const std::string &ID, const SimpleActionNode::TickFunctor &tick_functor, PortsList ports={})
registerSimpleAction help you register nodes of type SimpleActionNode.
Abstract base class for Behavior Tree Nodes.
std::unordered_map< std::string, PortInfo > PortsList
BT::NodeStatus SaySomethingSimple(BT::TreeNode &self)
void registerSimpleCondition(const std::string &ID, const SimpleConditionNode::TickFunctor &tick_functor, PortsList ports={})
registerSimpleCondition help you register nodes of type SimpleConditionNode.
SaySomething(const std::string &name, const BT::NodeConfiguration &config)
BT::NodeStatus CheckBattery()