Accessing point32 under geometry_msgs/PolygonStamped
Hi, I am new to ROS so excuse me for the silly doubt. There is a topic being published by a package, of type geometry_msgs/PolygonStamped. On executing rosmsg show this is what I got std_msgs/Header header uint32 seq time stamp string frame_id geometry_msgs/Polygon polygon geometry_msgs/Point32[] points float32 x float32 y float32 z Now I want to subscribe this topic and access Point x,y,z. How do I do it? Thanks in advance!