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

geometry_msgs::PoseArray has pose vector type each element represent a particle in case of amcl particlecloud.

geometry_msgs::PoseArray poseArray;
int size = poseArray.pose.size();