Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
yilinliu77 committed Mar 9, 2020
1 parent aef4e15 commit 1150ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processPointClouds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ std::pair<typename pcl::PointCloud<PointT>::Ptr,

for (int itemIndex = 0; itemIndex < cloud->points.size();itemIndex++) {
PointT& pointItem = cloud->points[itemIndex];
if (abs(A * pointItem.x + B * pointItem.y + C * pointItem.z + D) <
if (fabs(A * pointItem.x + B * pointItem.y + C * pointItem.z + D) <
distanceThreshold*sqrta2b2c2) {
inliersIterations.insert(itemIndex);
}
Expand Down

0 comments on commit 1150ae4

Please sign in to comment.