ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'd recommend either

  • Use PoseArray mgs and you can use a for loop to go through the position of pose of the PoseArray to see if poseArray.pose.position of x and y is equal to the x and y of the one you are gonna add in if so then move on if not then add.

OR

  • Create your own msgs with a Point[] point array and go through that array.