Skip to content

Trunk tutorial:How to add a translational motion in InverseMode? #163

Discussion options

You must be logged in to vote

Hi @TeoREN0217,

Yes you can use multiple actuation types at the same time. That's no problem.

For the translational motion, I suggest you to rigidify the root of the robot first. You can have a look at this tool from STLIB to help you do that. Then I would add the SlidingActuator to the corresponding rigid frame.

You're right about the missing example. I've just added this one, which will be available in the next release:

def createScene(rootnode):
    from splib3.animation import animate, AnimationManager
    rootnode.addObject(AnimationManager(rootnode))
    rootnode.addObject('RequiredPlugin', pluginName=['SoftRobots', 'SoftRobots.Inverse', 'SofaPython3'])
    rootnode.gravity = [0, 0, 0

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@TeoREN0217
Comment options

@EulalieCoevoet
Comment options

@TeoREN0217
Comment options

Answer selected by TeoREN0217
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants