Closed iche033 closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.33%. Comparing base (
7d30e47
) to head (8476306
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🦟 Bug fix
Fixes attaching fixed joint between 2 models.
Summary
When 2 models are attached by a fixed joint in bullet-featherstone, their rotations are not maintained (only the translation was set). This PR fixes the issue.
Test it
Before the fix, when you try to create a detachable joint in gz sim (which uses a fixed joint) between two models with rotations, the parent's rotation will be rotated to match the child's, making the models unstable.
I updated the
joint_features
test to use models with rotations.To test with gz sim: run the box_attach.sdf world with bullet-featherstone:
Hit play to create the detachable joint and the boxes become unstable:
After the fix, the box should remain stable when the joint is created.
Checklist
codecheck
passed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-by
messages.