Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Fix urdf ordering bug #39

Merged
merged 4 commits into from
Apr 22, 2022
Merged

Fix urdf ordering bug #39

merged 4 commits into from
Apr 22, 2022

Conversation

exhaustin
Copy link
Contributor

@exhaustin exhaustin commented Apr 21, 2022

Fixes issue #37

The function find_joint_of_body returns the joint index ordered by which <joint> fields are defined within the URDF file.
The joint indices contained in controlled_joints (which is also the indexing used throughout other parts of the robot model) is ordered by which <link> fields are defined within the URDF file.

compute_endeffector_jacobian erroneously uses the first indexing scheme to locate joints, which will cause errors when the links are defined in a different order than the joints within the URDF.

fmeier and others added 2 commits March 15, 2022 09:58
…in the urdf, which seems to affect our jacobian computation. Jacobian computation fails on that urdf
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 21, 2022
@exhaustin exhaustin requested a review from fmeier April 21, 2022 23:33
Copy link
Contributor

@fmeier fmeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great. thank you! and thanks for the description of the bug, I appreciated it :)

@exhaustin exhaustin merged commit d7bd1b3 into main Apr 22, 2022
@exhaustin exhaustin deleted the urdf_ordering_bug branch April 22, 2022 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants