Go to the documentation of this file.
22 setRegistrationID(
"AsyncSequence");
24 setRegistrationID(
"Sequence");
48 auto prev_status = current_child_node->
status();
83 throw LogicError(
"[",
name(),
"]: A children should not return IDLE");
bool requiresWakeUp() const
SequenceNode(const std::string &name, bool make_async=false)
void emitWakeUpSignal()
Notify that the tree should be ticked again()
size_t current_child_idx_
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
Abstract base class for Behavior Tree Nodes.
std::vector< TreeNode * > children_nodes_
NodeStatus status() const
void setStatus(NodeStatus new_status)
setStatus changes the status of the node. it will throw if you try to change the status to IDLE,...
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
const std::string & name() const
Name of the instance, not the type.
virtual void halt() override
virtual void halt() override