How to correctly declare a Polygon message
Hellow,
Easy question, I'm not able to declare a Polygone message that does not core dump. Here is my code for now :
geometry_msgs::Point32 tl;
polyStamp.polygon.points[0]=tl;
I have the doc of the Polygon Stamped and the Polygon but I guess I'm reading it really badly.
I tried declaring a table of Point32 as well and directly passing it to polygon.points but it wont compile then.
Thanks a lot for any answer.