summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/point_tracker.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-12 19:54:01 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-12 19:54:01 +0100
commit559f3aa2aeb23a71443c40d1c4f6b4d4e485747b (patch)
treebeebee9d6e7a2e3d26fe3fe458975d22fcc1cc40 /FTNoIR_Tracker_PT/point_tracker.cpp
parent7a7f7e70a6f104c5838b162f4d28afa6a8ae1d5f (diff)
Revert "don't touch tvec scale"
This reverts commit 69bc6490911f062c7eb72ff73431bfe7381034fd.
Diffstat (limited to 'FTNoIR_Tracker_PT/point_tracker.cpp')
-rw-r--r--FTNoIR_Tracker_PT/point_tracker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_PT/point_tracker.cpp b/FTNoIR_Tracker_PT/point_tracker.cpp
index c0221909..9f0fb59e 100644
--- a/FTNoIR_Tracker_PT/point_tracker.cpp
+++ b/FTNoIR_Tracker_PT/point_tracker.cpp
@@ -290,7 +290,7 @@ void PointTracker::POSIT(float fov, int w, int h)
// apply results
for (int i = 0; i < 3; i++)
{
- X_CM.t[i] = tvec.at<double>(i);
+ X_CM.t[i] = tvec.at<double>(i) * 1e-2;
for (int j = 0; j < 3; j++)
X_CM.R(i, j) = rmat.at<double>(i, j);
}