Skip to content
Snippets Groups Projects
Commit 90606477 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Cosmetic changes: remove deprecated comments and lines with no effects.

parent 5b72ced6
No related branches found
No related tags found
No related merge requests found
...@@ -401,7 +401,6 @@ namespace hpp { ...@@ -401,7 +401,6 @@ namespace hpp {
std::string n = "(" + name () + ")"; std::string n = "(" + name () + ")";
GraphPtr_t g = graph_.lock (); GraphPtr_t g = graph_.lock ();
/// The order is important here for the offset.
ConstraintSetPtr_t constraint = ConstraintSet::create (g->robot (), "Set " + n); ConstraintSetPtr_t constraint = ConstraintSet::create (g->robot (), "Set " + n);
ConfigProjectorPtr_t proj = ConfigProjector::create(g->robot(), "proj_" + n, g->errorThreshold(), g->maxIterations()); ConfigProjectorPtr_t proj = ConfigProjector::create(g->robot(), "proj_" + n, g->errorThreshold(), g->maxIterations());
...@@ -430,7 +429,6 @@ namespace hpp { ...@@ -430,7 +429,6 @@ namespace hpp {
std::string n = "(" + name () + "_extra)"; std::string n = "(" + name () + "_extra)";
GraphPtr_t g = graph_.lock (); GraphPtr_t g = graph_.lock ();
/// The order is important here for the offset.
ConstraintSetPtr_t constraint = ConstraintSet::create (g->robot (), "Set " + n); ConstraintSetPtr_t constraint = ConstraintSet::create (g->robot (), "Set " + n);
ConfigProjectorPtr_t proj = ConfigProjector::create(g->robot(), "proj_" + n, g->errorThreshold(), g->maxIterations()); ConfigProjectorPtr_t proj = ConfigProjector::create(g->robot(), "proj_" + n, g->errorThreshold(), g->maxIterations());
...@@ -442,7 +440,6 @@ namespace hpp { ...@@ -442,7 +440,6 @@ namespace hpp {
++itpdof; ++itpdof;
} }
assert (itpdof == extraPassiveDofs_.end ()); assert (itpdof == extraPassiveDofs_.end ());
!extraNumericalConstraints_.empty ();
insertNumericalConstraints (proj); insertNumericalConstraints (proj);
to ()->insertNumericalConstraints (proj); to ()->insertNumericalConstraints (proj);
constraint->addConstraint (proj); constraint->addConstraint (proj);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment