diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2013-02-26 16:42:25 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2013-02-26 16:42:25 +0000 |
commit | 01720c57d9a4b30582e0f2f47ab9879dfdca9d3a (patch) | |
tree | 5dcda5520dbfea67b5177ca0d4e30f83b36fc642 /FaceTrackNoIR/tracker.cpp | |
parent | 36f82a4f0dc4f002123cc313eab7c845dcd13572 (diff) |
Updating before branching. Last revision is v170 beta1.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@271 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.cpp')
-rw-r--r-- | FaceTrackNoIR/tracker.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FaceTrackNoIR/tracker.cpp b/FaceTrackNoIR/tracker.cpp index 2c09917b..5396c95b 100644 --- a/FaceTrackNoIR/tracker.cpp +++ b/FaceTrackNoIR/tracker.cpp @@ -639,6 +639,7 @@ bool bTracker2Confid = false; }
if (pTracker) {
bTracker1Confid = pTracker->GiveHeadPoseData(&newpose);
+// qDebug() << "Tracker::run() says Roll = " << newpose.roll;
}
else {
bTracker1Confid = false;
@@ -706,6 +707,7 @@ bool bTracker2Confid = false; target_camera.pitch = getSmoothFromList( &Pitch.rawList );
target_camera.yaw = getSmoothFromList( &Yaw.rawList );
target_camera.roll = getSmoothFromList( &Roll.rawList );
+// qDebug() << "Tracker::run() says Roll from Smoothing = " << target_camera.roll;
// do the centering
target_camera = target_camera - offset_camera;
@@ -715,9 +717,11 @@ bool bTracker2Confid = false; //
if (pFilter) {
pFilter->FilterHeadPoseData(¤t_camera, &target_camera, &new_camera, Tracker::Pitch.newSample);
+// qDebug() << "Tracker::run() says Roll in Filter = " << current_camera.roll << ", Roll to output = " << new_camera.roll;
}
else {
new_camera = target_camera;
+// qDebug() << "Tracker::run() says Roll to output = " << new_camera.roll;
}
output_camera.x = X.invert * X.curvePtr->getValue(new_camera.x);
output_camera.y = Y.invert * Y.curvePtr->getValue(new_camera.y);
|