-
Notifications
You must be signed in to change notification settings - Fork 277
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
Support world joints (joints inside <world> tags) #1949
Conversation
Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Codecov Report
@@ Coverage Diff @@
## gz-sim7 #1949 +/- ##
========================================
Coverage 64.98% 64.99%
========================================
Files 353 353
Lines 28600 28621 +21
========================================
+ Hits 18585 18601 +16
- Misses 10015 10020 +5
|
@osrf-jenkins run tests please |
Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
The |
As of gazebosim/sdformat#1117, SDFormat supports joints under world (//world/joint in xpath). This PR adds support for it in gz-sim. Note that some systems that operate on joints, such as the JointPositionController, require that the system is instantiated inside a model, and therefore, will not work with world joints. It's not clear whether this is a real problem since world joints are most likely to be fixed joints used to attach two models together. Signed-off-by: Addisu Z. Taddese <[email protected]> Signed-off-by: Bac0nEater <[email protected]>
🎉 New feature
Summary
As of gazebosim/sdformat#1117, SDFormat supports joints under world (
//world/joint
in xpath). This PR adds support for it in gz-sim.Note that some systems that operate on joints, such as the
JointPositionController
, require that the system is instantiated inside a model, and therefore, will not work with world joints. It's not clear whether this is a real problem since world joints are most likely to be fixed joints used to attach two models together.Needs: gazebosim/gz-physics#501
Test it
A new test
JointsInWorld
has been added totest/integration/physics_system.cc
.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.