Skip to content
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

adding IDs to geometry_msgs/Polygon, PolygonStamped #232

Merged
merged 7 commits into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions geometry_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ set(msg_files
"msg/Point32.msg"
"msg/PointStamped.msg"
"msg/Polygon.msg"
"msg/PolygonInstance.msg"
"msg/PolygonInstanceStamped.msg"
"msg/PolygonStamped.msg"
"msg/Pose.msg"
"msg/Pose2D.msg"
Expand Down
2 changes: 2 additions & 0 deletions geometry_msgs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ For more information about ROS 2 interfaces, see [docs.ros.org](https://docs.ros
* [Point](msg/Point.msg): The position of a 3-dimensional point in free space.
* [PointStamped](msg/PointStamped.msg): Point with reference coordinate frame and timestamp.
* [Polygon](msg/Polygon.msg): A specification of a polygon where the first and last points are assumed to be connected.
* [PolygonInstance](msg/PolygonInstance.msg): A specification of a polygon where the first and last points are assumed to be connected. Contains an identification field for disambiguation of multiple instances.
* [PolygonInstanceStamped](msg/PolygonInstanceStamped.msg): A Polygon with reference coordinate frame and timestamp. Contains an identification field for disambiguation of multiple instances.
* [PolygonStamped](msg/PolygonStamped.msg): A Polygon with reference coordinate frame and timestamp.
* [Pose2D](msg/Pose2D.msg): **Deprecated as of Foxy and will potentially be removed in any following release.**
* [PoseArray](msg/PoseArray.msg): An array of poses with a header for global reference.
Expand Down
5 changes: 5 additions & 0 deletions geometry_msgs/msg/PolygonInstance.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# A specification of a polygon where the first and last points are assumed to be connected
# Includes and unique identification field for disambiguating multiple instances
SteveMacenski marked this conversation as resolved.
Show resolved Hide resolved

geometry_msgs/Polygon polygon
int64 id
5 changes: 5 additions & 0 deletions geometry_msgs/msg/PolygonInstanceStamped.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This represents a Polygon with reference coordinate frame and timestamp
# Includes and unique identification field for disambiguating multiple instances
SteveMacenski marked this conversation as resolved.
Show resolved Hide resolved

std_msgs/Header header
geometry_msgs/PolygonInstance polygon