CreateClient in NatNet SDK

NatNet, VRPN, TrackD, and Plugins
Post Reply
evian2
Posts: 1
Joined: Tue Oct 16, 2012 6:52 am

CreateClient in NatNet SDK

Post by evian2 »

Hi there

I have a problem using the SampleClient from the NatNet 2.2 SDK. Everything works fine until the creation of the client:

// Create NatNet Client
iResult = CreateClient(iConnectionType);

And in CreateClient:

cout Initialize(szMyIPAddress, szServerIPAddress, MyServersCommandPort, MyServersDataPort);
cout << "test2" << endl;

Now I can see "test1", but then the function call Initialize() results in displaying the received data in an infinite loop (there is no problem with the data) and "test2" will not be displayed in the command window and neither the rest of the code after the CreateClient call in main.

How is that possible?

Thanks

Edit: Actually, there is something wrong with the data, "received Frame" is always -1.
Post Reply