Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jul 7, 2025

🎉 New feature

Summary

This PR adds AABB support to the Link API. It computes the overall link aligned bounding box (in local and world coordinates) by merging all collision bounding boxes obtained from their geometry shapes. Plus, it adds utility functions to transform AABB coordinates and calculate mesh AABB using utilities from gz::common::Mesh.

Test it

  • Checkout the appropriate gz-sim and sdformat branches
  • Build these packages
$ colcon build --packages-select sdformat15 gz-sim9 --merge-install
  • Run the following gz-sim9 tests:
$ ./build/gz-sim9/bin/UNIT_Util_TEST && ./build/gz-sim9/bin/INTEGRATION_link

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 #2787 done by Mergify.

Signed-off-by: Gabriel Pacheco <gabriel.fpacheco@gmail.com>
(cherry picked from commit ff07b7d)
@mergify mergify bot requested a review from mjcarroll as a code owner July 7, 2025 17:16
@github-actions github-actions bot added the 🎵 harmonic Gazebo Harmonic label Jul 7, 2025
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Jul 7, 2025
@iche033 iche033 merged commit 3728761 into gz-sim8 Jul 7, 2025
10 checks passed
@iche033 iche033 deleted the mergify/bp/gz-sim8/pr-2787 branch July 7, 2025 20:01
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Jul 7, 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