summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FTIRServer.cpp
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-10-05 20:40:38 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-10-05 20:40:38 +0000
commit6999bf3ef1c30d5af447c8cdd98213d1b1106a30 (patch)
tree7b72d37f030125bc16e60cb6c7d92a0a7baa6dae /FaceTrackNoIR/FTIRServer.cpp
parent9a573dbf66f8baddf1aabe79960c8658cbb0ee9e (diff)
Beta Curve configuration seems to work...
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@22 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/FTIRServer.cpp')
-rw-r--r--FaceTrackNoIR/FTIRServer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/FaceTrackNoIR/FTIRServer.cpp b/FaceTrackNoIR/FTIRServer.cpp
index bee31ca0..a3298ace 100644
--- a/FaceTrackNoIR/FTIRServer.cpp
+++ b/FaceTrackNoIR/FTIRServer.cpp
@@ -97,6 +97,13 @@ void FTIRServer::run() {
// qDebug() << "FTIRServer says: virtRotX =" << virtRotX << " virtRotY =" << virtRotY;
setposition (virtPosX, virtPosY, virtPosZ, virtRotZ, virtRotX, virtRotY );
+ //// Use this for some debug-output to file...
+ //QFile data("outputFTIR.txt");
+ //if (data.open(QFile::WriteOnly | QFile::Append)) {
+ // QTextStream out(&data);
+ // out << virtPosX << " " << virtPosY << " " << virtPosZ << virtRotX << " " << virtRotY << " " << virtRotZ << '\n';
+ //}
+
//qDebug() << "FTIRServer says: pMemData.xRot =" << pMemData->data.xRot << " yRot =" << pMemData->data.yRot;
ReleaseMutex(hFTIRMutex);
}