Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed scaled rotation matrix for Pose (and derived) nodes #6246

Merged
merged 5 commits into from
Jun 26, 2023

Conversation

stefaniapedrazzi
Copy link
Member

After #5978, if the Pose (or derived) node has a scaled parent Transform then the WbAbstractPose::rotationMatrix() function returns the scaled 3x3 submatrix instead of the rotation matrix.

Even for pose, the extracted 3x3 matrix needs to be unscaled in order to return a valid rotation matrix.

@stefaniapedrazzi stefaniapedrazzi added the bug Something isn't working label Jun 21, 2023
@stefaniapedrazzi stefaniapedrazzi added this to the R2023b milestone Jun 21, 2023
@stefaniapedrazzi stefaniapedrazzi self-assigned this Jun 21, 2023
@stefaniapedrazzi stefaniapedrazzi added the test suite Start the test suite label Jun 22, 2023
@stefaniapedrazzi stefaniapedrazzi marked this pull request as ready for review June 26, 2023 12:40
@stefaniapedrazzi stefaniapedrazzi requested a review from a team as a code owner June 26, 2023 12:40
@omichel omichel self-requested a review June 26, 2023 12:46
Copy link
Member

@omichel omichel left a comment

Choose a reason for hiding this comment

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

That looks good to me.
Thank you.

@stefaniapedrazzi stefaniapedrazzi merged commit b1c1809 into master Jun 26, 2023
22 checks passed
@stefaniapedrazzi stefaniapedrazzi deleted the hotfix-pose-rotation-matrix branch June 26, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working test suite Start the test suite
Development

Successfully merging this pull request may close these issues.

2 participants