Skip to content
This repository was archived by the owner on Mar 10, 2023. It is now read-only.

Commit b3524ec

Browse files
committed
fix bug
1 parent 8abde41 commit b3524ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

points_preprocessor/nodes/ray_ground_filter/ray_ground_filter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ void RayGroundFilter::ClassifyPointCloud(const std::vector<PointCloudRH>& in_rad
194194
{
195195
// check if previous point is too far from previous one, if so classify again
196196
if (points_distance > reclass_distance_threshold_ &&
197-
(current_height <= height_threshold && current_height >= -height_threshold))
197+
(current_height <= general_height_threshold && current_height >= -general_height_threshold))
198198
{
199199
current_ground = true;
200200
}

0 commit comments

Comments
 (0)