summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/trans_calib.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-01-05 21:53:57 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-01-05 21:53:57 +0100
commitd62fe231f17ba508b35243a6891ac999791343f1 (patch)
tree8942125aef36281f690862a201ec00d242ef0e52 /ftnoir_tracker_pt/trans_calib.cpp
parent089a2f319f90aa1f447126b964404c327f9645bb (diff)
copy centering code from 2.2
Issue: #106 Signs of XYZ are the same, it turns out. It's the display value that needs adjusting. Tested on @FlyingCircus- video.
Diffstat (limited to 'ftnoir_tracker_pt/trans_calib.cpp')
-rw-r--r--ftnoir_tracker_pt/trans_calib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/trans_calib.cpp b/ftnoir_tracker_pt/trans_calib.cpp
index e6a56e36..2994eb48 100644
--- a/ftnoir_tracker_pt/trans_calib.cpp
+++ b/ftnoir_tracker_pt/trans_calib.cpp
@@ -40,5 +40,5 @@ void TranslationCalibrator::update(const Matx33f& R_CM_k, const Vec3f& t_CM_k)
Vec3f TranslationCalibrator::get_estimate()
{
Vec6f x = P.inv() * y;
- return Vec3f(x[0], -x[1], -x[2]);
+ return Vec3f(-x[0], -x[1], -x[2]);
}