ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Figured it out. Define the polygon like this:
boundary.polygon.points.push_back(p1);
boundary.polygon.points.push_back(p2);
boundary.polygon.points.push_back(p3);
boundary.polygon.points.push_back(p4);
boundary.polygon.points.push_back(p5);