Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
# It includes a unique identification field for disambiguating multiple instances

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
# It includes a unique identification field for disambiguating multiple instances

std_msgs/Header header
geometry_msgs/PolygonInstance polygon