From 542eba09fbffd547c8f4d47ab69cb33ff99b6640 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Wed, 19 Jun 2019 10:31:36 +0300 Subject: [PATCH] Fix use of wrong source --- applications/registration/src/correspondances.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/registration/src/correspondances.cpp b/applications/registration/src/correspondances.cpp index 9b41a0572..e5ca8a914 100644 --- a/applications/registration/src/correspondances.cpp +++ b/applications/registration/src/correspondances.cpp @@ -167,7 +167,7 @@ bool Correspondances::capture(cv::Mat &rgb1, cv::Mat &rgb2) { if (d2_value < 39.0f) { // Make PCL points with specific depth value pcl::PointXYZ p2; - Eigen::Vector4f p2e = src_->point(x,y,d2_value); + Eigen::Vector4f p2e = targ_->point(x,y,d2_value); p2.x = p2e[0]; p2.y = p2e[1]; p2.z = p2e[3]; -- GitLab