diff --git a/include/laser/utils/laser3d_tools.h b/include/laser/utils/laser3d_tools.h index f3509027f07fcdd1d5a6583e94e56519587af917..76205e4134447c2d053d58a75c780d78af62f8aa 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); }