ros / common_msgs

Commonly used messages in ROS. Includes messages for actions (actionlib_msgs), diagnostics (diagnostic_msgs), geometric primitives (geometry_msgs), robot navigation (nav_msgs), and common sensors (sensor_msgs), such as laser range finders, cameras, point clouds.
http://wiki.ros.org/common_msgs
186 stars 190 forks source link

Add PolygonArray.msg #141

Closed ShepelIlya closed 5 years ago

ShepelIlya commented 5 years ago

Added PolygonArray.msg. My usecase is publishing several different polygons with one timestamp. Didn't find any standard way to do it.

tfoote commented 5 years ago

What is the semantic meaning of a PolygonArray with a header? In general this looks like a good candidate for you to define a custom message that has semantic meaning instead of just creating a message with a header and an array of other elements.

ShepelIlya commented 5 years ago

Ok. I'll create my own message. I considered that each geometry message must have an analog with an array, because must of all others messages have ...Array.msg.