Skip to content

Commit

Permalink
fix(euclidean_cluster): fix min cluster size
Browse files Browse the repository at this point in the history
Signed-off-by: beginningfan <[email protected]>
  • Loading branch information
beginningfan committed Jun 24, 2024
1 parent 51dc439 commit 3ae673b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ bool VoxelGridBasedEuclideanCluster::cluster(
std::vector<pcl::PointIndices> cluster_indices;
pcl::EuclideanClusterExtraction<pcl::PointXYZ> pcl_euclidean_cluster;
pcl_euclidean_cluster.setClusterTolerance(tolerance_);
pcl_euclidean_cluster.setMinClusterSize(min_cluster_size_);
pcl_euclidean_cluster.setMinClusterSize(1);
pcl_euclidean_cluster.setMaxClusterSize(max_cluster_size_);
pcl_euclidean_cluster.setSearchMethod(tree);
pcl_euclidean_cluster.setInputCloud(pointcloud_2d_ptr);
Expand Down

0 comments on commit 3ae673b

Please sign in to comment.