You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 3, 2025. It is now read-only.
While trying to get a better understanding of the reference frame for joint axes in SDF, I noticed that the implementation of SetAxis() for DARTHingeJoint has a bug. Specifically, this line shouldn't be in there. That transforms the joint axis into the parent link frame, but we just want it to be expressed in the frame that it's already in.
It seems this has gone unnoticed because that transform from the parent link frame is set to an identity matrix at the point in time that this function is called by the SDF loading routine, so it has no effect. However, if a user calls this function later, after the whole SDF has been loaded, then the axis will be set incorrectly if there's any relative rotation between the parent link and joint poses.
I already have a fix and regression test written for this. I'm opening this issue so that I can tag the regression test with an issue number.
The text was updated successfully, but these errors were encountered:
Original report (archived issue) by Michael Grey (Bitbucket: mxgrey, GitHub: mxgrey).
While trying to get a better understanding of the reference frame for joint axes in SDF, I noticed that the implementation of
SetAxis()
forDARTHingeJoint
has a bug. Specifically, this line shouldn't be in there. That transforms the joint axis into the parent link frame, but we just want it to be expressed in the frame that it's already in.It seems this has gone unnoticed because that transform from the parent link frame is set to an identity matrix at the point in time that this function is called by the SDF loading routine, so it has no effect. However, if a user calls this function later, after the whole SDF has been loaded, then the axis will be set incorrectly if there's any relative rotation between the parent link and joint poses.
I already have a fix and regression test written for this. I'm opening this issue so that I can tag the regression test with an issue number.
The text was updated successfully, but these errors were encountered: