ExportDialog: Added OpenChisel meshing option

This commit is contained in:
matlabbe
2018-03-26 18:06:41 -04:00
parent 7143f693d2
commit d2f7d8a9c4
11 changed files with 1131 additions and 149 deletions

View File

@@ -126,7 +126,7 @@ Memory::Memory(const ParametersMap & parameters) :
{
UWARN( "%s is >=0.5, which sets correspondence ratio for proximity detection using "
"laser scans to 100% (2 x Ratio). You may lower the ratio to accept proximity "
"detection with not full scans overlapping.");
"detection with not full scans overlapping.", Parameters::kIcpCorrespondenceRatio().c_str());
}
_registrationIcpMulti = new RegistrationIcp(paramsMulti);
@@ -584,7 +584,7 @@ void Memory::parseParameters(const ParametersMap & parameters)
{
UWARN( "%s is >=0.5, which sets correspondence ratio for proximity detection using "
"laser scans to 100% (2 x Ratio). You may lower the ratio to accept proximity "
"detection with not full scans overlapping.");
"detection with not full scans overlapping.", Parameters::kIcpCorrespondenceRatio().c_str());
}
_registrationIcpMulti->parseParameters(paramsMulti);
}

View File

@@ -640,6 +640,11 @@ pcl::texture_mapping::CameraVector createTextureCameras(
cam.depth = cv::Mat(depthIter->second, cv::Range(0, depthIter->second.rows), cv::Range(subWidth*i, subWidth*(i+1)));
}
UWARN("%f", cam.focal_length);
UWARN("%f", cam.height);
UWARN("%f", cam.width);
UWARN("cam.pose=%s", t.prettyPrint().c_str());
cameras.push_back(cam);
}
}
@@ -1990,7 +1995,7 @@ cv::Mat mergeTextures(
}
}
}
UDEBUG("globalTextures=%d", globalTextures.cols / globalTextures.rows);
UDEBUG("globalTextures=%d", globalTextures.cols?globalTextures.cols / globalTextures.rows:0);
return globalTextures;
}