diff options
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.
//
|