Go to the documentation of this file.
23 , read_parameter_from_ports_(
false)
25 setRegistrationID(
"Repeat");
32 , read_parameter_from_ports_(true)
89 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 BT::NodeStatus executeTick()
The method that should be used to invoke tick() and setStatus();.
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 NodeStatus tick() override
Method to be implemented by the user.
static constexpr const char * NUM_CYCLES
const std::string & name() const
Name of the instance, not the type.
RepeatNode(const std::string &name, int NTries)
virtual void halt() override
The method used to interrupt the execution of this node.
bool read_parameter_from_ports_
void halt() override
The method used to interrupt the execution of this node.