diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2012-11-23 18:55:21 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2012-11-23 18:55:21 +0000 |
commit | bcd12abfc0474d489f5fd30358475086c60df1eb (patch) | |
tree | 65b9bfb095a8860cbc4ef57e8aa7b531c574ad48 | |
parent | 0273d369b6b8562f052d74b9a7eb4b997a9c6920 (diff) |
Minor change: Main form show 1 digit more in rotations.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@195 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
-rw-r--r-- | FaceTrackNoIR/FaceTrackNoIR.ui | 9 | ||||
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/FaceTrackNoIR/FaceTrackNoIR.ui b/FaceTrackNoIR/FaceTrackNoIR.ui index eec447bc..f04108a8 100644 --- a/FaceTrackNoIR/FaceTrackNoIR.ui +++ b/FaceTrackNoIR/FaceTrackNoIR.ui @@ -552,6 +552,9 @@ Support FaceTrackNoIR!</string> <property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
+ <property name="numDigits">
+ <number>6</number>
+ </property>
</widget>
<widget class="QLCDNumber" name="lcdNumRotX">
<property name="geometry">
@@ -565,6 +568,9 @@ Support FaceTrackNoIR!</string> <property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
+ <property name="numDigits">
+ <number>6</number>
+ </property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
@@ -706,6 +712,9 @@ color:white;</string> <property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
+ <property name="numDigits">
+ <number>6</number>
+ </property>
</widget>
<widget class="QLCDNumber" name="lcdNumX">
<property name="geometry">
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 71f47f36..a24b58f8 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -363,13 +363,13 @@ T6DOF offset_camera(0,0,0,0,0,0); T6DOF gamezero_camera(0,0,0,0,0,0);
T6DOF gameoutput_camera(0,0,0,0,0,0);
-bool bInitialCenter = true;
+bool bInitialCenter = false;
bool bTracker1Confid = false;
bool bTracker2Confid = false;
Tracker::do_tracking = true; // Start initially
Tracker::do_center = false; // Center initially
- bInitialCenter = true;
+// bInitialCenter = true;
//
// Test some Filter-stuff
@@ -692,6 +692,7 @@ bool bTracker2Confid = false; target_camera = target_camera - offset_camera;
if (Tracker::useFilter && pFilter) {
+// qDebug() << "Tracker::run() says target_camera.yaw = " << target_camera.yaw;
pFilter->FilterHeadPoseData(¤t_camera, &target_camera, &new_camera, Tracker::Pitch.newSample);
}
else {
|