Skip to content

adding IDs to geometry_msgs/Polygon, PolygonStamped (backport #232)#277

Merged
ahcorde merged 1 commit intohumblefrom
mergify/bp/humble/pr-232
Apr 11, 2025
Merged

adding IDs to geometry_msgs/Polygon, PolygonStamped (backport #232)#277
ahcorde merged 1 commit intohumblefrom
mergify/bp/humble/pr-232

Conversation

@mergify
Copy link

@mergify mergify bot commented Apr 10, 2025

Implementing #230

Polygons are often used to represent specific objects (e.g. robot footprints, obstacles in the scene, other agents) but are difficult to rectify currently without any kind of specific identification - especially when you have N of the same object resulting in several identical object instances.

This PR adds an ID field analog to visualization_msgs/Marker to disambiguate polygons for use in the nav2_collision_monitor and throughout future Costmap2D planned work. I strongly believe this is a good addition worth the change to a standard interface with both minimal overhead & not breaking any current users' behavior.


This is an automatic backport of pull request #232 done by Mergify.

* adding PolygonInstance msgs

Signed-off-by: Steve Macenski <stevenmacenski@gmail.com>
Co-authored-by: Michael Carroll <carroll.michael@gmail.com>
Co-authored-by: Chris Lalancette <clalancette@gmail.com>
(cherry picked from commit 104e644)
@fujitatomoya
Copy link
Collaborator

Pulls: #277
Gist: https://gist.githubusercontent.com/fujitatomoya/391a0d3eb57d25bf2666364f04470273/raw/24f7eea765226a8a5cbd30dea80ae77affc0664d/ros2.repos
BUILD args: --packages-above-and-dependencies geometry_msgs
TEST args: --packages-above geometry_msgs
ROS Distro: humble
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15662

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@ahcorde ahcorde merged commit 7e9e761 into humble Apr 11, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants