From e5673882abba2b1f7db71765cc470de844fa3473 Mon Sep 17 00:00:00 2001 From: a-maumau Date: Thu, 13 Jun 2024 17:48:35 +0900 Subject: [PATCH] remove unnecessary comment Signed-off-by: a-maumau --- .../yabloc_common/src/ground_server/polygon_operation.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/localization/yabloc/yabloc_common/src/ground_server/polygon_operation.cpp b/localization/yabloc/yabloc_common/src/ground_server/polygon_operation.cpp index e889562e50103..dd8287fbcc703 100644 --- a/localization/yabloc/yabloc_common/src/ground_server/polygon_operation.cpp +++ b/localization/yabloc/yabloc_common/src/ground_server/polygon_operation.cpp @@ -66,8 +66,6 @@ void push_back_contour( pcl::PointCloud shrink_vertices( const pcl::PointCloud & vertices, float rate) { - // Eigen::Vector3f center = Eigen::Vector3f::Zero(); - // for (const pcl::PointXYZ p : vertices) center += p.getVector3fMap(); Eigen::Vector3f center = std::accumulate( vertices.begin(), vertices.end(), Eigen::Vector3f::Zero().eval(), [](const Eigen::Vector3f& acc, const pcl::PointXYZ& p) { return acc + p.getVector3fMap(); }