39 throw std::runtime_error(
"Missing parameter [reset_on_failure] in SequenceStarNode");
50 throw std::runtime_error(
"Missing parameter [reset_on_failure] in SequenceStarNode");
90 throw std::runtime_error(
"This is not supposed to happen");
BT::optional< T > getParam(const std::string &key) const
const std::string & name() const
std::vector< TreeNode * > children_nodes_
virtual void halt() override
The method used to interrupt the execution of a RUNNING node.
void setRegistrationName(const std::string ®istration_name)
registrationName() is set by the BehaviorTreeFactory
std::unordered_map< std::string, std::string > NodeParameters
SequenceStarNode(const std::string &name, bool reset_on_failure=true)
virtual void halt() override
The method used to interrupt the execution of a RUNNING node.
bool read_parameter_from_blackboard_
static constexpr const char * RESET_PARAM
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
unsigned int current_child_idx_
static bool isBlackboardPattern(StringView str)
virtual BT::NodeStatus executeTick()
The method that will be executed to invoke tick(); and setStatus();.
std::basic_string< CharT, Traits > to_string(basic_string_view< CharT, Traits > v)
void setStatus(NodeStatus new_status)