From d4425185f83d4839b0986aea6da9e92160eb6009 Mon Sep 17 00:00:00 2001 From: EnricoMingo Date: Thu, 21 Mar 2024 10:11:37 +0100 Subject: [PATCH] Removed unused method --- include/OpenSoT/constraints/Aggregated.h | 12 ------------ src/constraints/Aggregated.cpp | 13 ------------- 2 files changed, 25 deletions(-) diff --git a/include/OpenSoT/constraints/Aggregated.h b/include/OpenSoT/constraints/Aggregated.h index 8ae93689..aa97c137 100644 --- a/include/OpenSoT/constraints/Aggregated.h +++ b/include/OpenSoT/constraints/Aggregated.h @@ -115,18 +115,6 @@ using namespace OpenSoT::utils; virtual void _log(XBot::MatLogger2::Ptr logger); public: - /** - * @brief Aggregated - * @param bounds a std::list of Bounds - * @param q the vector of q at which to create the Aggregated bound - * Notice that by specifying q, the Aggregated will automatically call - * update(q) on all tasks he is composed of - */ - Aggregated(const std::list< ConstraintPtr > constraints, - const Eigen::VectorXd &q, - const unsigned int aggregationPolicy = - EQUALITIES_TO_INEQUALITIES | - UNILATERAL_TO_BILATERAL); /** * @brief Aggregated diff --git a/src/constraints/Aggregated.cpp b/src/constraints/Aggregated.cpp index 32331787..ffaf027d 100644 --- a/src/constraints/Aggregated.cpp +++ b/src/constraints/Aggregated.cpp @@ -27,19 +27,6 @@ const std::string Aggregated::_CONSTRAINT_PLUS_ = "+"; const std::string Aggregated::_CONSTRAINT_AGGREGATED_ = "AGGR_"; std::string Aggregated::concatenatedId = ""; -Aggregated::Aggregated(const std::list bounds, - const Eigen::VectorXd &q, - const unsigned int aggregationPolicy) : - Constraint(concatenateConstraintsIds(bounds), q.rows()), - _bounds(bounds), _aggregationPolicy(aggregationPolicy) -{ - assert(bounds.size()>0); - _number_of_bounds = _bounds.size(); - - this->checkSizes(); - /* calling update to generate bounds */ - this->update(q); -} Aggregated::Aggregated(const std::list bounds, const unsigned int x_size,