Euclidean Cluster Extraction - cluster output rate decreases with clouds with over 3000 points
I'm using EuclideanClusterExtraction on a ROS node. The objective is to output to a specific topic the centroid of each cluster.
The cloud that is being clustered is increasing over time, as more points are added to it. However after the total number of points goes over 3000, I can't keep an output rate of 5Hz.
Is there any optimization I can do to improve this (code or otherwise)?