From 1342ec8fa5aaf270cc0b0af07fc5220086e92894 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 18 Jan 2015 14:24:59 +0100 Subject: pt: reset calibration when it starts --- ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp index 8c896203..2c1ec5d8 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp @@ -86,6 +86,9 @@ void TrackerDialog::startstop_trans_calib(bool start) qDebug()<<"TrackerDialog:: Starting translation calibration"; trans_calib.reset(); trans_calib_running = true; + s.t_MH_x = 0; + s.t_MH_y = 0; + s.t_MH_z = 0; } else { -- cgit v1.2.3