summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/FTIRServer.cpp
diff options
context:
space:
mode:
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);
}