summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-05-05 17:09:43 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-05-05 17:09:43 +0200
commit85a77c191379643fcbb1ef716ef41d18c78fe1e0 (patch)
treebe32ee81ebea51d032b4b7c1e862194315a9bf55 /ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
parent330405759c97bfd8988a4617f88c93dc0560bbe9 (diff)
parent4da4b7608ff03782ed2a157a7ef2bc843101b271 (diff)
Merge pull request #154 from MartinJG/master
Fix returning consistent data to get headpose and other minor issues
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
index 51d5918e..b22e3b15 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat_dialog.cpp
@@ -117,6 +117,8 @@ TrackerControls::TrackerControls() : theTracker(NULL), settingsDirty(false), tim
ui.chkInvertX->setChecked(settings.InvertX);
ui.chkInvertY->setChecked(settings.InvertY);
ui.chkInvertZ->setChecked(settings.InvertZ);
+
+ ui.chkEnableLogging->setChecked(settings.EnableLogging);
ui.cb_roll->setCurrentIndex(settings.RollAxe);
@@ -165,6 +167,7 @@ TrackerControls::TrackerControls() : theTracker(NULL), settingsDirty(false), tim
connect( ui.chkInvertX,SIGNAL(toggled(bool)), this,SLOT(set_inv_x(bool)) );
connect( ui.chkInvertY,SIGNAL(toggled(bool)), this,SLOT(set_inv_y(bool)) );
connect( ui.chkInvertZ,SIGNAL(toggled(bool)), this,SLOT(set_inv_z(bool)) );
+ connect( ui.chkEnableLogging,SIGNAL(toggled(bool)), this,SLOT(set_diag_logging(bool)) );
connect(ui.cb_roll, SIGNAL(currentIndexChanged(int)), this,SLOT(set_rot_roll(int)));
connect(ui.cb_pitch, SIGNAL(currentIndexChanged(int)),this,SLOT(set_rot_pitch(int)));