Commit 8f82e740 authored by Pierre Fernbach's avatar Pierre Fernbach Committed by Steve Tonneau
Browse files

update relative to change in hpp-core devel (commit f1fb840)

parent 05777058
......@@ -55,8 +55,9 @@ namespace hpp {
{
hpp::model::RbPrmDevicePtr_t robotcast = boost::static_pointer_cast<hpp::model::RbPrmDevice>(robot);
hpp::rbprm::RbPrmValidationPtr_t validation(hpp::rbprm::RbPrmValidation::create(robotcast, romFilter_, normalFilter_));
hpp::core::CollisionPathValidationReport defaultValidation;
return hpp::core::DiscretizedCollisionChecking::createWithValidation(robot,val ,defaultValidation, validation);
hpp::core::DiscretizedCollisionCheckingPtr_t collisionChecking = hpp::core::DiscretizedCollisionChecking::create(robot,val);
collisionChecking->add (validation);
return collisionChecking;
}
hpp::core::ProblemSolverPtr_t problemSolver_;
......
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