Skip to content
Discussion options

You must be logged in to vote

Hello,

Currently the forces under a mapped node are not correctly mapped when using a SparseLDLSolver, which you need, to use the combination of GenericConstraintSolver/FreeAnimationLoop, if I'm correct.
There's a WIP developpement for this problem (sorry I didn't find any references) and a temporary solution ; you can use the component MechanicalMatrixMapper.

Here's a working scene:

def createScene(rootNode):
    rootNode.addObject('RequiredPlugin', pluginName=['SoftRobots'])
    rootNode.addObject('VisualStyle', displayFlags='showBehavior')
    rootNode.gravity.value = [9810, 0, 0]
    rootNode.addObject('FreeMotionAnimationLoop')
    rootNode.addObject('GenericConstraintSolver', tolerance

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@tolstoys19
Comment options

@EulalieCoevoet
Comment options

Answer selected by tolstoys19
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants