Skip to content
Snippets Groups Projects

Implements #82 registration app

Merged Nicolas Pope requested to merge feature/82/regapp into master
12 files
+ 481
11
Compare changes
  • Side-by-side
  • Inline
Files
12
@@ -233,7 +233,7 @@ Eigen::Matrix4f findTransformation(vector<PointCloud<PointXYZ>::Ptr> clouds_sour
@@ -233,7 +233,7 @@ Eigen::Matrix4f findTransformation(vector<PointCloud<PointXYZ>::Ptr> clouds_sour
// score new transformation
// score new transformation
double score = 0.0;
double score = 0.0;
for (size_t j = 0; j < n_clouds; ++j) {
for (size_t j = 0; j < n_clouds; ++j) {
score += validate.validateTransformation(clouds_source[j], clouds_target[j], T);
score += validate.validateTransformation(clouds_source[j], clouds_target[j], T); // CHECK Is use of T here a mistake??
}
}
score /= n_clouds;
score /= n_clouds;
Loading