Go to the documentation of this file.
43 ParallelNode(
const std::string&
name,
int success_threshold,
int failure_threshold = 1);
49 return {InputPort<int>(
THRESHOLD_SUCCESS,
"number of childen which need to succeed "
53 "number of childen which need to fail to trigger a FAILURE")};
58 virtual void halt()
override;
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
static constexpr const char * THRESHOLD_FAILURE
The ParallelNode execute all its children concurrently, but not in separate threads!
std::unordered_map< std::string, PortInfo > PortsList
const NodeConfiguration & config() const
bool read_parameter_from_ports_
size_t failureThreshold() const
void setSuccessThreshold(int threshold_M)
ParallelNode(const std::string &name, int success_threshold, int failure_threshold=1)
size_t successThreshold() const
~ParallelNode() override=default
void setFailureThreshold(int threshold_M)
const std::string & name() const
Name of the instance, not the type.
static constexpr const char * THRESHOLD_SUCCESS
std::set< int > skip_list_
virtual void halt() override
static PortsList providedPorts()
behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Wed Jun 26 2024 02:51:19