Go to the documentation of this file.
46 return {InputPort<int>(
NUM_CYCLES,
"Repeat a succesful child up to N times. "
47 "Use -1 to create an infinite loop.")};
static PortsList providedPorts()
std::unordered_map< std::string, PortInfo > PortsList
const NodeConfiguration & config() const
virtual NodeStatus tick() override
Method to be implemented by the user.
virtual ~RepeatNode() override=default
const std::string & name() const
Name of the instance, not the type.
RepeatNode(const std::string &name, int NTries)
static constexpr const char * NUM_CYCLES
bool read_parameter_from_ports_
void halt() override
The method used to interrupt the execution of this node.
The RepeatNode is used to execute a child several times, as long as it succeed.
behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Wed Jun 26 2024 02:51:19