Skip to content

Possible bug in models.py #157

@OmidRezayof

Description

@OmidRezayof

Hi,
Great job with this amazing library!
I wanted to inform you about a possible bug in models.py

J = self.get_global_link_geometric_jacobian(link, q)

        # Transform jacobian to given base link
        R = self.get_global_link_rotation(base_link, q).T
        O = cs.DM.zeros(3, 3)
        K = cs.vertcat(
            cs.horzcat(R, O),
            cs.horzcat(O, R),
        )
        J = K @ J

In line 1340 and when trying to transfer a Jacobian matrix from the world link to a desired link, matrix 'K' (also known as the Adjoint of the Transformation between the world and the desired link) should look something like this:

image

which made me think there might be a bug in the code. If you're using a different logic, please accept my apology and let me know.
Thanks.

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