-
Notifications
You must be signed in to change notification settings - Fork 342
Physics System populates link bounding boxes #2821
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
Physics System populates link bounding boxes #2821
Conversation
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.
did a first pass review, overall approach looks good
1fed07c
to
0595ea9
Compare
Currently there's a build error as it needs the new API from sdformat. So I'm waiting for gazebosim/sdformat#1547 to be merged first. We also need a new sdformat release afterwards in order to run CI in #2787 and make sure everything is green. We can only approve and merge a PR when the required CI checks are green. |
Yes, sure! I initially thought there might be a way to trigger the CI with dependent packages at specific branches, but then realized that the merge/release process is required, as you said. Besides the dependency that prevents the proper CI checks, though, there are still some unresolved threads here from your first pass review, are those solved? Regarding the sdformat PR, the CI is already green, and I believe all comments have been addressed. I've pinged the reviewers in gazebosim/sdformat#1547 (comment) recently, so I think we should be close to a merge. |
yep looks good to me. Feel free to mark them as resolved once you address the comments. |
270e71e
to
b5d6982
Compare
fa9726a
to
adfee80
Compare
199e360
to
93770e3
Compare
e859bc8
to
0fb4002
Compare
Signed-off-by: Gabriel Pacheco <gabriel.fpacheco@gmail.com> Add missing whitespace character to log message Co-authored-by: Ian Chen <ichen@openrobotics.org> Signed-off-by: Gabriel Pacheco <gabriel.fpacheco@gmail.com>
Signed-off-by: Gabriel Pacheco <gabriel.fpacheco@gmail.com>
0fb4002
to
90a65c4
Compare
@iche033, friendly ping :) |
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!
@mergify backport gz-sim8 |
✅ Backports have been created
|
Computes the link bounding boxes for all link entities that have components::AxisAlignedBox present. The computation follows the same logic as the models bbox, but falls back to the SDF calculation introduced in #2787 in case the feature is not present for the selected physics plugin. --------- Signed-off-by: Gabriel Pacheco <gabriel.fpacheco@gmail.com> Co-authored-by: Ian Chen <ichen@openrobotics.org> (cherry picked from commit 716de42)
Computes the link bounding boxes for all link entities that have components::AxisAlignedBox present. The computation follows the same logic as the models bbox, but falls back to the SDF calculation introduced in #2787 in case the feature is not present for the selected physics plugin. --------- Signed-off-by: Gabriel Pacheco <gabriel.fpacheco@gmail.com> Co-authored-by: Ian Chen <ichen@openrobotics.org> (cherry picked from commit 716de42)
🎉 New feature
Follow-up of #2787
Summary
Computes the link bounding boxes for all link entities that have
components::AxisAlignedBox
present. The computation follows the same logic as the models bbox, but falls back to the SDF calculation introduced in #2787 in case the feature is not present for the selected physics plugin.Test it
Run the following integration test:
./build/gz-sim9/bin/INTEGRATION_physics_system --gtest_filter=*LinkBoundingBox*
It will load
bounding_boxes.sdf
world (see below) and perform link AABB checks while the models free-fall until reaching the ground.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.