diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-10-22 15:28:38 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-10-22 15:28:38 +0000 |
commit | 17fcad9850754d2d0ec662c46e7940b07b64804c (patch) | |
tree | 5875c85a90c8ff3b52bb360f0f1dde9a81b85544 /FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp | |
parent | c4f8fe0c097a3282270db7eecda4c7eb533b99fc (diff) |
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@94 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp')
-rw-r--r-- | FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp index 70556835..9326c544 100644 --- a/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp +++ b/FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp @@ -94,7 +94,9 @@ quint16 senderPort; //
// Copy the Raw measurements directly to the client.
//
+ frame_counter += 1;
TestData = headpose->position;
+ TestData.frame_number = frame_counter;
//
// Try to send an UDP-message to the receiver
@@ -149,6 +151,8 @@ bool FTNoIR_Protocol_FTN::checkServerInstallationOK( HANDLE handle ) inSocket = 0;
outSocket = 0;
+ frame_counter = 0;
+
//
// Create UDP-sockets.
//
|