diff --git a/perception/euclidean_cluster/lib/voxel_grid_based_euclidean_cluster.cpp b/perception/euclidean_cluster/lib/voxel_grid_based_euclidean_cluster.cpp index 4723074a98fc6..eb0be4c7d626a 100644 --- a/perception/euclidean_cluster/lib/voxel_grid_based_euclidean_cluster.cpp +++ b/perception/euclidean_cluster/lib/voxel_grid_based_euclidean_cluster.cpp @@ -86,7 +86,7 @@ bool VoxelGridBasedEuclideanCluster::cluster( std::vector cluster_indices; pcl::EuclideanClusterExtraction 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);