Commit 288e92af authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

dynamicValidation constructor now take a Device

parent 25827f2d
......@@ -109,7 +109,7 @@ namespace hpp {
mass = robot->mass();
mu = problemSolver_->problem()->getParameter (std::string("DynamicPlanner/friction")).floatValue();
hppDout(notice,"mu define in python : "<<mu);
DynamicValidationPtr_t dynamicVal = DynamicValidation::create(rectangularContact,sizeFootX,sizeFootY,mass,mu);
DynamicValidationPtr_t dynamicVal = DynamicValidation::create(rectangularContact,sizeFootX,sizeFootY,mass,mu,robot);
collisionChecking->addDynamicValidator(dynamicVal);
return collisionChecking;
......
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