56 throw std::runtime_error(
"This is not supposed to happen");
virtual void halt() override
The method used to interrupt the execution of a RUNNING node.
std::vector< TreeNode * > children_nodes_
virtual void halt() override
The method used to interrupt the execution of a RUNNING node.
FallbackStarNode(const std::string &name)
void setRegistrationName(const std::string ®istration_name)
registrationName() is set by the BehaviorTreeFactory
unsigned int current_child_idx_
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
virtual BT::NodeStatus executeTick()
The method that will be executed to invoke tick(); and setStatus();.
void setStatus(NodeStatus new_status)