We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe19395 commit 63c4d69Copy full SHA for 63c4d69
cpp/map_closures/GroundAlign.cpp
@@ -88,9 +88,7 @@ std::vector<Eigen::Vector3d> ComputeLowestPoints(const std::vector<Eigen::Vector
88
std::for_each(pointcloud.cbegin(), pointcloud.cend(), [&](const Eigen::Vector3d &point) {
89
const auto &pixel = PointToPixel(point);
90
if (lowest_point_hash_map.find(pixel) == lowest_point_hash_map.cend()) {
91
- if (point.z() < 0) {
92
- lowest_point_hash_map.emplace(pixel, point);
93
- }
+ lowest_point_hash_map.emplace(pixel, point);
94
} else if (point.z() < lowest_point_hash_map[pixel].z()) {
95
lowest_point_hash_map[pixel] = point;
96
}
0 commit comments