summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/trans_calib.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-12-30 07:33:23 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-12-30 07:33:23 +0100
commit7b81b27f70cb5169bbd61de7cc6628dac5620cc8 (patch)
treec01920bce45c02a913d363f8c37e7c143746b9a3 /ftnoir_tracker_pt/trans_calib.cpp
parentca441d95ea699597dc34dedf57dad5fbf11a4573 (diff)
pt: undo swap axis for data, and for display
Issue: #106
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 2994eb48..e6a56e36 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]);
}