Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
dbscan.hpp
Go to the documentation of this file.
1#include <string>
2#include <vector>
3
5
14class DBSCAN : public Clustering {
15public:
23
33 void clustering(const sensor_msgs::msg::PointCloud2::SharedPtr& point_cloud,
34 std::vector<Cluster>* clusters) const override;
35
36private:
40};
Abstract base class for clustering point clouds.
DBSCAN (Density-Based Spatial Clustering of Applications with Noise) clustering algorithm implementat...
Definition dbscan.hpp:14
int min_cluster_size
Minimum number of points required to form a cluster.
Definition dbscan.hpp:37
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.
Definition dbscan.cpp:6
double neighbours_dist_threshold
Maximum distance between points to be considered as neighbors.
Definition dbscan.hpp:38