From b3524ecc79d8c074cd2b852080796e55669a2758 Mon Sep 17 00:00:00 2001 From: taichiH Date: Thu, 19 Nov 2020 10:24:39 +0900 Subject: [PATCH] fix bug --- .../nodes/ray_ground_filter/ray_ground_filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/points_preprocessor/nodes/ray_ground_filter/ray_ground_filter.cpp b/points_preprocessor/nodes/ray_ground_filter/ray_ground_filter.cpp index f1d33ace..7ad412ed 100644 --- a/points_preprocessor/nodes/ray_ground_filter/ray_ground_filter.cpp +++ b/points_preprocessor/nodes/ray_ground_filter/ray_ground_filter.cpp @@ -194,7 +194,7 @@ void RayGroundFilter::ClassifyPointCloud(const std::vector& in_rad { // check if previous point is too far from previous one, if so classify again if (points_distance > reclass_distance_threshold_ && - (current_height <= height_threshold && current_height >= -height_threshold)) + (current_height <= general_height_threshold && current_height >= -general_height_threshold)) { current_ground = true; }