Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 7, 2025

🎉 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.

image

Note: after the previous PR is merged, this PR will rebase to gz-sim9 and be marked as ready to review

Checklist

  • Signed all commits for DCO
  • Added tests
  • Added example and/or tutorial
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

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.


This is an automatic backport of pull request #2821 done by [Mergify](https://mergify.com).

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)
@mergify mergify bot requested review from azeey and mjcarroll as code owners July 7, 2025 23:16
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jul 7, 2025
@iche033
Copy link
Contributor

iche033 commented Jul 8, 2025

@osrf-jenkins run tests please

@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Jul 8, 2025
@iche033 iche033 merged commit c3e8439 into gz-sim8 Jul 8, 2025
10 checks passed
@iche033 iche033 deleted the mergify/bp/gz-sim8/pr-2821 branch July 8, 2025 21:16
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎵 harmonic Gazebo Harmonic

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants