14 #ifndef DECORATORRETRYNODE_H 15 #define DECORATORRETRYNODE_H 49 "Execute again a failing child up to N times. " 50 "Use -1 to create an infinite loop.") };
53 virtual void halt()
override;
const std::string & name() const
Name of the instance, not the type.
const NodeConfiguration & config() const
bool read_parameter_from_ports_
The RetryNode is used to execute a child several times if it fails.
RetryNode(const std::string &name, int NTries)
static PortsList providedPorts()
std::unordered_map< std::string, PortInfo > PortsList
static constexpr const char * NUM_ATTEMPTS
virtual void halt() override
The method used to interrupt the execution of this node.
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
virtual ~RetryNode() override=default