33 void clustering(
const sensor_msgs::msg::PointCloud2::SharedPtr& point_cloud,
34 std::vector<Cluster>* clusters)
const override;
Abstract base class for clustering point clouds.
DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm implementat...
int min_cluster_size
Minimum number of points required to form a cluster.
void clustering(const sensor_msgs::msg::PointCloud2::SharedPtr &point_cloud, std::vector< Cluster > *clusters) const override
Clusters the input point cloud into groups using the DBSCAN algorithm.
double neighbours_dist_threshold
Maximum distance between points to be considered as neighbors.