Go to the documentation of this file.
22 , max_attempts_(NTries)
24 , read_parameter_from_ports_(
false)
26 setRegistrationID(
"RetryUntilSuccessful");
33 , read_parameter_from_ports_(true)
104 throw LogicError(
"[",
name(),
"]: A children should not return IDLE");
Result getInput(const std::string &key, T &destination) const
bool requiresWakeUp() const
void emitWakeUpSignal()
Notify that the tree should be ticked again()
virtual void halt() override
The method used to interrupt the execution of this node.
virtual BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
bool read_parameter_from_ports_
NodeStatus status() const
void setStatus(NodeStatus new_status)
setStatus changes the status of the node. it will throw if you try to change the status to IDLE,...
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
const std::string & name() const
Name of the instance, not the type.
static constexpr const char * NUM_ATTEMPTS
virtual void halt() override
The method used to interrupt the execution of this node.
RetryNode(const std::string &name, int NTries)