Question regarding NatNet protocol messages
Posted: Thu Apr 08, 2010 10:14 pm
Hi,
I started using the NatNet protocol on the other day because a client installed the Tracking Tools software to run a mini-VR system, and it turned out some features I relied on in my calibration process were removed w.r.t. the old Rigid Body Toolkit. This was NatNet protocol 2.1.0.0.
My question is about which protocol versions support which request/reply messages. I worked from the packet parser source code from your web page.
I noticed that on version 2.1.0.0, only the NAT_PING and NAT_REQUEST_MODELDEF requests worked. NAT_REQUEST, NAT_REQUEST_FRAMEOFDATA, and NAT_MESSAGESTRING yielded a server reply of NAT_UNRECOGNIZED_REQUEST.
I'm just trying it on 1.4.0.0 on the Rigid Body Toolkit we use, and here the NAT_REQUEST_MODELDEF does not seem to work (I get a NAT_UNRECOGNIZED_REQUEST in return).
It would be very useful to get model definitions -- especially an association between rigid body names and IDs -- from the engine, which seems to work on 2.1.0.0. Does 1.4.0.0 simply not support NAT_REQUEST_MODELDEF, or am I doing something wrong? Is there an alternative way to request model definitions? I used to parse .rdef files to get at the rigid bodies using the Rigid Body Toolkit, but I'd rather not fall back to that.
The UDP sockets and firewall on the two involved machines are set up correctly, because I get ping replies and receive streaming tracking data.
Is there documentation anywhere on the semantics of the NAT_REQUEST and NAT_MODELSTRING request packets? I couldn't find sufficient information in the packet parser source.
Thanks!
I started using the NatNet protocol on the other day because a client installed the Tracking Tools software to run a mini-VR system, and it turned out some features I relied on in my calibration process were removed w.r.t. the old Rigid Body Toolkit. This was NatNet protocol 2.1.0.0.
My question is about which protocol versions support which request/reply messages. I worked from the packet parser source code from your web page.
I noticed that on version 2.1.0.0, only the NAT_PING and NAT_REQUEST_MODELDEF requests worked. NAT_REQUEST, NAT_REQUEST_FRAMEOFDATA, and NAT_MESSAGESTRING yielded a server reply of NAT_UNRECOGNIZED_REQUEST.
I'm just trying it on 1.4.0.0 on the Rigid Body Toolkit we use, and here the NAT_REQUEST_MODELDEF does not seem to work (I get a NAT_UNRECOGNIZED_REQUEST in return).
It would be very useful to get model definitions -- especially an association between rigid body names and IDs -- from the engine, which seems to work on 2.1.0.0. Does 1.4.0.0 simply not support NAT_REQUEST_MODELDEF, or am I doing something wrong? Is there an alternative way to request model definitions? I used to parse .rdef files to get at the rigid bodies using the Rigid Body Toolkit, but I'd rather not fall back to that.
The UDP sockets and firewall on the two involved machines are set up correctly, because I get ping replies and receive streaming tracking data.
Is there documentation anywhere on the semantics of the NAT_REQUEST and NAT_MODELSTRING request packets? I couldn't find sufficient information in the packet parser source.
Thanks!