boost Polygon to geometry_msgs/Polygon

asked 2020-06-11 09:04:19 -0500

aled96 gravatar image


I have a polygon defined as boost::geometry::model::polygon, now I would like to publish it on a topic. I saw that there is the geometry_msgs/Polygon that is very similar. There is a function that allows a conversion between them or I have to scan all the vertices and build the geometry_msgs by myself ?

Thank you very much !

edit retag flag offensive close merge delete