Skip to content

ikine_LMS doesn't work for URDF (ERobot) models #174

@dd-ff

Description

@dd-ff

When trying to calculate inverse kinematics using LMS or LM variant using official (implemented) URDF robot or a personal one, an error is thrown in this manner:

...\roboticstoolbox\robot\IK.py", line 534, in ikine_LMS
k = np.logical_and(q > np.pi, revolutes)
ValueError: operands could not be broadcast together with shapes (7,) (9,)

In order to test it you could simply use following script:

robot = rtb.models.URDF.Panda()
T = SE3()
sol = robot.ikine_LMS(T)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions