Commit 0992fc0c authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[ProblemSolver] Set obstacles to problem when adding a config validation.

  This commit fixes collision detection using class Problem.
parent 1bb555d3
Pipeline #12659 failed with stage
in 41 minutes and 22 seconds
......@@ -420,6 +420,8 @@ namespace hpp {
if (!problem_) throw std::runtime_error ("The problem is not defined.");
// If a robot is present, set config validation methods
initConfigValidation ();
// Set obstacles
problem_->collisionObstacles(collisionObstacles_);
}
void ProblemSolver::clearConfigValidations ()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment