-
Notifications
You must be signed in to change notification settings - Fork 95
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
Add nested model support for World's *ByName
and *NameExists
functions
#518
Conversation
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
ModelByName
and ModelNameExists
finds nested models too
…d, added tests Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
ModelByName
and ModelNameExists
finds nested models too*ByName
and *NameExists
functions
Codecov Report
@@ Coverage Diff @@
## master #518 +/- ##
==========================================
+ Coverage 87.97% 87.99% +0.01%
==========================================
Files 66 66
Lines 9546 9551 +5
==========================================
+ Hits 8398 8404 +6
+ Misses 1148 1147 -1
Continue to review full report at Codecov.
|
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! Just one minor fix
Co-authored-by: Jenn Nguyen <jenn@openrobotics.org> Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
08d3c89
to
719b297
Compare
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!
Signed-off-by: Aaron Chong aaronchongth@gmail.com
🎉 New feature
Closes #412
Summary
This adds nested model support to
*ByName
and*NameExists
functions inWorld
, specifically forModel
andFrame
. The implementation is the same as the one used inModel
.Notes:
.sdf
integration test sdf files,world_nested_frame.sdf
andworld_nested_model.sdf
.Model
's API as well, since these functions will call them.Test it
source ws/install/setup.bash ./ws/build/sdformat11/src/UNIT_World_TEST ./ws/build/sdformat11/test/integration/INTEGRATION_model_dom ./ws/build/sdformat11/test/integration/INTEGRATION_world_dom
Checklist
sh tools/code_check.sh
)another open pull request
to support the maintainers
Note to maintainers: Remember to use Squash-Merge