Page 1 of 1

Format of Streaming Data

Posted: Wed May 04, 2016 5:35 pm
by uhlavalab
If we were interested in writing our own code to interpret the data from Motive to an Unity App without using the NatNet/VRPN examples on the forum.

What kind of format does Motive use when it is streaming data of the Rigid Bodies out through say VRPN or NatNet.

Re: Format of Streaming Data

Posted: Thu May 05, 2016 10:07 am
by steven.andrews
Hello uhlavalab,

VRPN is a standard streaming protocol that is maintained by Sensics. Information for this should be publicly available.
https://github.com/vrpn/vrpn/wiki

If you are using the NatNet protocol, the NatNet SDK provides all of the tools needed to connect to Motive's realtime stream and to receive the tracking data. This can be used to develop your own application to receive the data.

If you are trying to avoid the NatNet SDK altogether, you might want to look at the PacketClient sample that is included with the SDK. This sample shows how to directly access the data. The protocols shown here can be adapted to work in environments that the NatNet SDK will not work in, such as a Linux environment.

I hope you find this information to be useful. If you require any further assistance with this, please feel free to reach out to us at help.naturalpoint.com

Best,
Steven
--
Steven Andrews
OptiTrack | Senior Customer Support Engineer