ICP correspondence ratio set to 0 when maximum laser scan count is not set

This commit is contained in:
matlabbe
2015-08-05 20:16:27 -04:00
parent b90b46e5ac
commit a88e8dd013
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2495,7 +2495,7 @@ Transform Memory::computeIcpTransform(
{
Transform icpT;
bool hasConverged = false;
float correspondencesRatio = -1.0f;
float correspondencesRatio = 0.0f;
int correspondences = 0;
double variance = 1;
pcl::PointCloud<pcl::PointXYZ>::Ptr newCloudRegistered(new pcl::PointCloud<pcl::PointXYZ>());