Skip to content
Discussion options

You must be logged in to vote

Hi @Rollmex, thank you for the question, and I'm sorry for the very long delay: various life events got in the way, and since May I've been doing major work across the Robotics Toolbox, Swift and SpatialGeometry.

ikine_min has since been replaced by the Levenberg-Marquardt solver (ik_LM), which converges well. There isn't a built-in "hold this joint" option yet, but you can get it by replacing that joint in the ETS with a constant, solving for the remaining joints, and putting the fixed value back:

import numpy as np
import roboticstoolbox as rtb

def fix_joint(ets, j, value):
    """Return a copy of an ETS with joint j locked at value."""
    parts, k = [], -1
    for e in ets:
        if e

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by petercorke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants