From bcd12abfc0474d489f5fd30358475086c60df1eb Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Fri, 23 Nov 2012 18:55:21 +0000 Subject: 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 --- FaceTrackNoIR/FaceTrackNoIR.ui | 9 +++++++++ FaceTrackNoIR/tracker.cpp | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'FaceTrackNoIR') 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! QFrame::NoFrame + + 6 + @@ -565,6 +568,9 @@ Support FaceTrackNoIR! QFrame::NoFrame + + 6 + @@ -706,6 +712,9 @@ color:white; QFrame::NoFrame + + 6 + 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 { -- cgit v1.2.3