Data streaming between SimpleClient and Arena
Posted: Tue Jan 22, 2013 8:25 am
Hello,
I have a problem when trying to stream data from Arena.
I followed Natnet SDK user guide instructions and I can't get the streaming working.
Indeed, I launch Arena (with a rigid body loaded) and then go to the stream pad, then I write my IP address (both client and server are running on the same computer).
Right Hand Coord, 3D marker Positions and Rigid Body Data are checked.
Then I launch SimpleClient from Natnet Samples.
This is what I 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.21.92
[Client] Initializing command listener.
[Client] Initializing data listener.
[Client] Received command from 192.168.21.92: Command=1, nDataBytes=264
[Client] Connected. (HostApp:Arena HostVer: 1.8.1.0 HostIP: 192.168.21.92 ()
[SampleClient] Server application info:
Application: Arena (ver. 1.8.1.0)
NatNet Version: 2.3.0.0
Client IP:192.168.21.92
Server IP:192.168.21.92
Server Name:Yeosu.ipb.fr
Client initialized and ready.
[SampleClient] Sending Test Request
[Client] Requesting: TestRequest
[Client] Received command from 192.168.21.92: Command=100, nDataBytes=264
[Client] Server returned NAT_UNRECOGNIZED_REQUEST.
[SampleClient] Requesting Data Descriptions...
[Client] Received command from 192.168.21.92: Command=5, nDataBytes=107
[SampleClient] Received 2 Data Descriptions:
Data Description # 0 (type=0)
MarkerSet Name : All
Rigid_Body:root1
Rigid_Body:root2
Rigid_Body:root3
Data Description # 1 (type=1)
RigidBody Name : Rigid Body_root
RigidBody ID : 65537
RigidBody Parent ID : 0
Parent Offset : 0.00,0.00,0.00
Client is connected to server and listening for data...
So the client is able to connect to Arena, bet when I start streaming data (by clicking the button in Arena), I keep getting this :
[Client] Received command from 192.168.21.92: Command=7, nDataBytes=120
And finally, all I get in the output file, is the rigid body description.
So what am I doing wrong?
Thank you for your responses.
I have a problem when trying to stream data from Arena.
I followed Natnet SDK user guide instructions and I can't get the streaming working.
Indeed, I launch Arena (with a rigid body loaded) and then go to the stream pad, then I write my IP address (both client and server are running on the same computer).
Right Hand Coord, 3D marker Positions and Rigid Body Data are checked.
Then I launch SimpleClient from Natnet Samples.
This is what I 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.21.92
[Client] Initializing command listener.
[Client] Initializing data listener.
[Client] Received command from 192.168.21.92: Command=1, nDataBytes=264
[Client] Connected. (HostApp:Arena HostVer: 1.8.1.0 HostIP: 192.168.21.92 ()
[SampleClient] Server application info:
Application: Arena (ver. 1.8.1.0)
NatNet Version: 2.3.0.0
Client IP:192.168.21.92
Server IP:192.168.21.92
Server Name:Yeosu.ipb.fr
Client initialized and ready.
[SampleClient] Sending Test Request
[Client] Requesting: TestRequest
[Client] Received command from 192.168.21.92: Command=100, nDataBytes=264
[Client] Server returned NAT_UNRECOGNIZED_REQUEST.
[SampleClient] Requesting Data Descriptions...
[Client] Received command from 192.168.21.92: Command=5, nDataBytes=107
[SampleClient] Received 2 Data Descriptions:
Data Description # 0 (type=0)
MarkerSet Name : All
Rigid_Body:root1
Rigid_Body:root2
Rigid_Body:root3
Data Description # 1 (type=1)
RigidBody Name : Rigid Body_root
RigidBody ID : 65537
RigidBody Parent ID : 0
Parent Offset : 0.00,0.00,0.00
Client is connected to server and listening for data...
So the client is able to connect to Arena, bet when I start streaming data (by clicking the button in Arena), I keep getting this :
[Client] Received command from 192.168.21.92: Command=7, nDataBytes=120
And finally, all I get in the output file, is the rigid body description.
So what am I doing wrong?
Thank you for your responses.