summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/trans_calib.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-01-08 23:53:45 +0100
committerStanislaw Halik <sthalik@misaki.pl>2014-01-08 23:53:45 +0100
commitd6855de1a83fd54c43384de218d61252de7a7a1b (patch)
tree597eabaf6a3004d29fca266cbe3e0afe8d20f73e /FTNoIR_Tracker_PT/trans_calib.cpp
parent0a32ae32452b02fae0036f9c5099b043d0c9052e (diff)
fix crash due to mismatched float/double
Diffstat (limited to 'FTNoIR_Tracker_PT/trans_calib.cpp')
-rw-r--r--FTNoIR_Tracker_PT/trans_calib.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/FTNoIR_Tracker_PT/trans_calib.cpp b/FTNoIR_Tracker_PT/trans_calib.cpp
index 9b75a1b6..b2e0ead0 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]);
-} \ No newline at end of file
+ return Vec3f(-x[0], -x[1], -x[2]);
+}