-
Notifications
You must be signed in to change notification settings - Fork 92
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
Added non-const accessors for Model child objects #839
Conversation
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Codecov Report
@@ Coverage Diff @@
## sdf12 #839 +/- ##
=======================================
Coverage 90.76% 90.77%
=======================================
Files 78 78
Lines 12535 12547 +12
=======================================
+ Hits 11378 11390 +12
Misses 1157 1157
Continue to review full report at Codecov.
|
Signed-off-by: Nate Koenig <nate@openrobotics.org>
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.
Looks good overall. I noticed that you didn't add a mutatable version of Model::FrameByIndex
and Model::FrameByName
. Is that intentional?
Yeah, I'm not as familiar with Frames, and wasn't sure if it was safe to add mutable versions of these. If it is, then I can add them. |
Mutating them is just safe/unsafe is everything else. The frame graph has to be updated (now with |
Signed-off-by: Nate Koenig <nate@openrobotics.org>
Frame mutators have been added in 4acd1eb |
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.
LGTM! Just a few minor comments
Signed-off-by: Nate Koenig <nate@openrobotics.org>
This pull request has been mentioned on Gazebo Community. There might be relevant details there: https://community.gazebosim.org/t/new-ignition-releases-2022-04-13-fortress-edifice/1367/1 |
Signed-off-by: Nate Koenig nate@openrobotics.org
🎉 New feature
Summary
Similar to #838. This adds non-const accessors to the Model class.
Test it
Run tests
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.