From 17fcad9850754d2d0ec662c46e7940b07b64804c Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sat, 22 Oct 2011 15:28:38 +0000 Subject: git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@94 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FTNoIR_Protocol_FTN/FTNoIR_Protocol_FTN.cpp') 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. // -- cgit v1.2.3