20 size_t failure_count = 0;
48 throw LogicError(
"A child node must never return IDLE");
std::vector< TreeNode * > children_nodes_
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
Abstract base class for Behavior Tree Nodes.
void haltChildren(unsigned i)
call halt() for all the children in the range [i, childrenCount() )
unsigned childrenCount() const
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.