What are the differences between GenericConstraintSolver and LCPConstraintSolver ? #5000
Replies: 3 comments 2 replies
-
|
Hello ! Both ( In SOFA usually, constraint solving is defined by the constraint itself, e.g. a For the force feedback side, the Finally, it would really easier to help you if we could get access to the scene files to see the components and parameters that you used. If you provide them I could try to give you more insight before you need to modify the source code. Hope that helped you ! |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm trying the Geomagic plugin and have an unstable behaviour caused by the


LCPConstraintSolveron the scene Geomagic-DeformableCubes.scn. The initial contact force can reach10N, while when using theGenericConstraintSolverit is only around0.5N.The other difference that I notice when using one or the other is that with
GenericConstraintSolverthe feedback force is updated only when SOFA can compute the deformations and stays constant in between, whileLCPConstraintSolveralways returns an estimation of the force based on the position and the last scene computed.I'm trying to understand what changes between the two solvers to see how I could improve my haptic feedback when SOFA runs at low fps.
Where can I find the differences between them ? In the documentation they are described almost identically;
A Generic Constraint Solver using the Linear Complementarity Problem formulation to solve Constraint based componentsA Constraint Solver using the Linear Complementarity Problem formulation to solve BaseConstraint based componentswhile Factorize ConstraintSolvers #3148 mentions that the generic solver is used for non linear problems.
Here are the two behaviour with
GenericConstraintSolverandLCPConstraintSolvershowing the instability in the second caseDeformableCubesGeneric.mp4
DeformableCubesLCP.mp4
Beta Was this translation helpful? Give feedback.
All reactions