Go to the documentation of this file.
22 setRegistrationID(
"AsyncFallback");
24 setRegistrationID(
"Fallback");
42 auto prev_status = current_child_node->
status();
74 throw LogicError(
"[",
name(),
"]: A children should not return IDLE");
bool requiresWakeUp() const
void emitWakeUpSignal()
Notify that the tree should be ticked again()
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_
virtual void halt() override
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,...
size_t current_child_idx_
const std::string & name() const
Name of the instance, not the type.
FallbackNode(const std::string &name, bool make_asynch=false)
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
virtual void halt() override