-
Notifications
You must be signed in to change notification settings - Fork 41
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
Use correct link indices when constructing fixed constraints #530
Conversation
Signed-off-by: Michael Carroll <[email protected]>
Codecov Report
@@ Coverage Diff @@
## gz-physics6 #530 +/- ##
============================================
Coverage 75.83% 75.84%
============================================
Files 143 143
Lines 7325 7327 +2
============================================
+ Hits 5555 5557 +2
Misses 1770 1770
|
A simple test might be to add another link in the SDF file for this test before |
I added a test earlier to this effect and couldn't get it to fail with the previous implementation. Looking again. |
The reported bug was that the detachable joint was not correctly linked between objects' canonical links with bullet-featherstone. While this was addressed and confirmed working in #530, this adds a test to prevent future regression (or for future physics implementations) Signed-off-by: Michael Carroll <[email protected]>
The reported bug was that the detachable joint was not correctly linked between objects' canonical links with bullet-featherstone. While this was addressed and confirmed working in #530, this adds a test to prevent future regression (or for future physics implementations) Signed-off-by: Michael Carroll <[email protected]>
🦟 Bug fix
Fixes gazebosim/gz-sim#2076
Summary
Previously, link indices were not accounted for when adding fixed constraints. This will use the link index if it is present (and still use -1 if the constraint is on the root link).
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.