diff --git a/src/graph/edge.cc b/src/graph/edge.cc index b5c133871af781b54bcbf1be74edc03163e3b900..9d542c12a1256cb4b6550560eff5bf254a45639d 100644 --- a/src/graph/edge.cc +++ b/src/graph/edge.cc @@ -290,17 +290,7 @@ namespace hpp { } hppDout(info, "q2 does not satisfy the constraints"); } - core::SteeringMethodPtr_t sm (steeringMethod_->get()); - if (!sm) { - buildPathConstraint (); - } - if (!sm) { - std::ostringstream oss; - oss << "No steering method set in edge " << name () << "."; - throw std::runtime_error (oss.str ().c_str ()); - } - path = (*sm) (q1, q2); - return path; + return false; } bool Edge::applyConstraints (core::NodePtr_t nnear, ConfigurationOut_t q) const