Skip to content

Commit

Permalink
Removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMingo committed Mar 21, 2024
1 parent 42656b3 commit d442518
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
12 changes: 0 additions & 12 deletions include/OpenSoT/constraints/Aggregated.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 0 additions & 13 deletions src/constraints/Aggregated.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ConstraintPtr> 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<ConstraintPtr> bounds,
const unsigned int x_size,
Expand Down

0 comments on commit d442518

Please sign in to comment.