-
Notifications
You must be signed in to change notification settings - Fork 100
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
Joint: rename parent/child *LinkName APIs #1053
Conversation
Remove Link from the names of APIs for getting and setting the name of parent/child frames, since any frame can be specified, not just links. Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #1053 +/- ##
==========================================
- Coverage 83.47% 83.45% -0.02%
==========================================
Files 148 148
Lines 18393 18413 +20
==========================================
+ Hits 15353 15367 +14
- Misses 3040 3046 +6
Continue to review full report at Codecov.
|
this will introduce some deprecation warnings in gz-physics and gz-sim after this is merged, but I'll fix that in follow-up pull requests |
python/src/sdf/pyJoint.cc
Outdated
@@ -34,6 +36,7 @@ namespace python | |||
void defineJoint(pybind11::object module) | |||
{ | |||
pybind11::class_<sdf::Joint> jointModule(module, "Joint"); | |||
GZ_UTILS_WARN_IGNORE__DEPRECATED_DECLARATION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we even include the deprecated functions in the python API since we don't have a stable release of the bindings yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gz-mujoco is already using the deprecated functions, so I was going to leave them in until gz-mujoco can be updated to avoid breakage. Should I just remove it and then quickly fix it in a gz-mujoco PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that sounds good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed deprecated API from python binding in 70023d6
Follow-up to gazebosim/sdformat#1053. Signed-off-by: Steve Peters <[email protected]>
Signed-off-by: Steve Peters <[email protected]>
Follow-up to gazebosim/sdformat#1053. Signed-off-by: Steve Peters <[email protected]>
Follow-up to gazebosim/sdformat#1053. Signed-off-by: Steve Peters <[email protected]>
Follow-up to gazebosim/sdformat#1053. Signed-off-by: Steve Peters <[email protected]>
Follow-up to gazebosim/sdformat#1053. Signed-off-by: Steve Peters <[email protected]>
Follow-up to gazebosim/sdformat#1053. Signed-off-by: Steve Peters <[email protected]>
Follow-up to gazebosim/sdformat#1053. Signed-off-by: Steve Peters <[email protected]>
🦟 Bug fix
Fixes #979
Summary
Remove Link from the names of APIs for getting and setting the name of parent/child frames, since any frame can be specified, not just links.
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.