summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-01-18 14:24:59 +0100
committerStanislaw Halik <sthalik@misaki.pl>2015-01-18 14:24:59 +0100
commit1342ec8fa5aaf270cc0b0af07fc5220086e92894 (patch)
treee8f1b146961d385038f49bb787b6c60052c2cf6a /ftnoir_tracker_pt
parent82568efa733687189658e538be6fa4888f82f388 (diff)
pt: reset calibration when it starts
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r--ftnoir_tracker_pt/ftnoir_tracker_pt_dialog.cpp3
1 files changed, 3 insertions, 0 deletions
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
{