NATNET problem connecting Arena to SampleClient

NatNet, VRPN, TrackD, and Plugins
Post Reply
ypapelis
Posts: 9
Joined: Mon Nov 08, 2010 8:44 am

NATNET problem connecting Arena to SampleClient

Post by ypapelis »

I have what I believe is one of these problems with an obvious answer, however, it has eluded me for a while now. I am using:
+ Arena version is 1.6.3000 (Build 8526)
+ NatNet tools, version 2.2.0 (4/25/2010)
+ Windows XP, SP3, 4G RAM.
+ Visual Studio 2008

I have configured my workspace and can use Arena to track multiple rigid bodies. I have build all example programs in NatNetSDK/Samples.

On a DOS window I run SimpleServer. On another DOS window, I run SampleClient, I can see both windows print connection messages and can start streaming. So far so good.

Now I want to do the same, but use Arena as the server. I stop both programs on the dos prompts and start Arena. I load the project, start the cameras. On the 'Settings' window under the 'Stream' tab I click on 'Start Streaming Frames' and have checked 'Right Hand Coord.', '3D Marker Positions', and 'Rigid Body Data'. I start SampleClient on the DOS window and instead of seeing the connection message, similar to when SimpleServer was running, I now get:

------------------------------------------------------------
Connecting to server at LocalMachine
Connecting from LocalMachine...
NatNet Sample Client (NatNet ver. 2.2.0.0)

[Client] Initializing using ethernet address: 192.168.121.87

[Client] Initializing command listener.

[Client] Initializing data listener.

Socket error 10054: WSAECONNRESET
Unable to connect to server. Host not present. Exiting.Error initializing client
. See log for details. Exiting
------------------------------------------------------


Any ideas on what I am doing wrong?

-- Thanks!
morgan
NaturalPoint Employee
NaturalPoint Employee
Posts: 199
Joined: Tue Jun 24, 2008 2:01 pm
Location: Corvallis, OR, USA
Contact:

Re: NATNET problem connecting Arena to SampleClient

Post by morgan »

You might first check that Arena and Client are using same IP Address.

Client is attempting to connect on 192.168.121.87. In Arena -> Streaming, confirm that the IP Address combo also has same address.

Note that local loopback (127.0.0.1) and local IP address (192.168.121.87 in your case) are not the same and will not connect.

Otherwise, all port assigment defaults in Arena and NatNet should be the same.

Morgan
ypapelis
Posts: 9
Joined: Mon Nov 08, 2010 8:44 am

Re: NATNET problem connecting Arena to SampleClient

Post by ypapelis »

That was it - Thanks!
Post Reply