Skip to content

Commit 0539495

Browse files
committed
fix covar -> cov
1 parent 6b1a459 commit 0539495

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

sensing/tier4_pcl_extensions/include/tier4_pcl_extensions/voxel_grid_nearest_centroid.hpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ class VoxelGridNearestCentroid : public VoxelGrid<PointT>
217217
: searchable_(true),
218218
// min_points_per_voxel_ (6),
219219
min_points_per_voxel_(1),
220-
// min_covar_eigenvalue_mult_ (0.01),
220+
// min_cov_eigenvalue_mult_ (0.01),
221221
leaves_(),
222222
voxel_centroids_(),
223223
voxel_centroids_leaf_indices_(),
@@ -258,12 +258,12 @@ class VoxelGridNearestCentroid : public VoxelGrid<PointT>
258258
inline int getMinPointPerVoxel() { return min_points_per_voxel_; }
259259

260260
/** \brief Set the minimum allowable ratio between eigenvalues to prevent singular covariance
261-
* matrices. \param[in] min_covar_eigenvalue_mult the minimum allowable ratio between eigenvalues
261+
* matrices. \param[in] min_cov_eigenvalue_mult the minimum allowable ratio between eigenvalues
262262
*/
263263
// inline void
264-
// setCovEigValueInflationRatio (double min_covar_eigenvalue_mult)
264+
// setCovEigValueInflationRatio (double min_cov_eigenvalue_mult)
265265
// {
266-
// min_covar_eigenvalue_mult_ = min_covar_eigenvalue_mult;
266+
// min_cov_eigenvalue_mult_ = min_cov_eigenvalue_mult;
267267
// }
268268

269269
/** \brief Get the minimum allowable ratio between eigenvalues to prevent singular covariance
@@ -272,7 +272,7 @@ class VoxelGridNearestCentroid : public VoxelGrid<PointT>
272272
// inline double
273273
// getCovEigValueInflationRatio ()
274274
// {
275-
// return min_covar_eigenvalue_mult_;
275+
// return min_cov_eigenvalue_mult_;
276276
// }
277277

278278
/** \brief Filter cloud and initializes voxel structure.
@@ -517,7 +517,7 @@ class VoxelGridNearestCentroid : public VoxelGrid<PointT>
517517

518518
/** \brief Minimum allowable ratio between eigenvalues to prevent singular covariance
519519
* matrices. */
520-
// double min_covar_eigenvalue_mult_;
520+
// double min_cov_eigenvalue_mult_;
521521

522522
/** \brief Voxel structure containing all leaf nodes (includes voxels with less than
523523
* a sufficient number of points). */

sensing/tier4_pcl_extensions/include/tier4_pcl_extensions/voxel_grid_nearest_centroid_impl.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ void pcl::VoxelGridNearestCentroid<PointT>::applyFilter(PointCloud & output)
300300

301301
// Eigen values less than a threshold of max eigen value are inflated to a set fraction of the
302302
// max eigen value.
303-
// double min_covar_eigenvalue;
303+
// double min_cov_eigenvalue;
304304

305305
for (typename std::map<size_t, Leaf>::iterator it = leaves_.begin(); it != leaves_.end(); ++it) {
306306
// Normalize the centroid

0 commit comments

Comments
 (0)