Skip to content

Commit 859bd34

Browse files
committed
[solver] Disable minimization of contact forces
1 parent 6404107 commit 859bd34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mc_solver/TVMQPSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ void TVMQPSolver::addContactToDynamics(const std::string & robot,
488488
// Add a minimization on the force variable with a low weight
489489
// TODO maybe find a way to parametrize a desired anisotropic weight from the mc_rbdyn::Contact ?
490490
// TODO write a linear function to target zero (minimize) or a specific target
491-
targets.push_back(problem_.add(f == 0.0, {tvm::requirements::PriorityLevel(1), tvm::requirements::Weight(0.0001)}));
491+
// targets.push_back(problem_.add(f == 0.0, {tvm::requirements::PriorityLevel(1), tvm::requirements::Weight(0.0001)}));
492492
}
493493

494494
// }

0 commit comments

Comments
 (0)