Go to the documentation of this file.
50 return { InputPort<int>(
NUM_ATTEMPTS,
"Execute again a failing child up to N times. "
51 "Use -1 to create an infinite loop.") };
54 virtual void halt()
override;
66 class [[deprecated("RetryUntilSuccesful was a typo and deprecated, use "
67 "RetryUntilSuccessful "
const NodeConfig & config() const
virtual void halt() override
The method used to interrupt the execution of this node.
RetryNodeTypo(const std::string &name, const NodeConfig &config)
static PortsList providedPorts()
bool read_parameter_from_ports_
std::unordered_map< std::string, PortInfo > PortsList
The RetryNode is used to execute a child several times if it fails.
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
const std::string & name() const
Name of the instance, not the type.
RetryNodeTypo(const std::string &name, int NTries)
static constexpr const char * NUM_ATTEMPTS
RetryNode(const std::string &name, int NTries)
virtual ~RetryNode() override=default