From 74263d3534996788b355c8a25137b94bf477fcc8 Mon Sep 17 00:00:00 2001 From: vsainz <vsainz@iri.upc.edu> Date: Wed, 17 Aug 2022 10:54:48 +0200 Subject: [PATCH] cleaning code --- include/laser/utils/laser3d_tools.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/laser/utils/laser3d_tools.h b/include/laser/utils/laser3d_tools.h index f3509027f..76205e413 100644 --- a/include/laser/utils/laser3d_tools.h +++ b/include/laser/utils/laser3d_tools.h @@ -74,8 +74,6 @@ void loadData(std::string fname, pcl::PointCloud<pcl::PointXYZ> &cloud) tPoint.z = *pz; pcl_ptr->push_back(tPoint); - // m.cloud -> push_back(*px, *py, *pz, *pr); - // point_cloud.points.push_back(tPoint(*px, *py, *pz, *pr)); px += 4; py += 4; pz += 4; @@ -83,7 +81,6 @@ void loadData(std::string fname, pcl::PointCloud<pcl::PointXYZ> &cloud) } fclose(stream); - // remove NAN points from the cloud std::vector<int> indices; pcl::removeNaNFromPointCloud(*pcl_ptr, *pcl_ptr, indices); } -- GitLab