Follow

Network Streamer in MVN

The network streamer sends the poses of the active window (playback or real-time), both UDP and TCP are supported by the network streamer. The UDP Protocol is unidirectional, and contrary to TCP (Transmission Control Protocol, RFC 793) it is stateless and does not require the receiver to answer incoming packets. This allows greater speed.

 

Xsens has designed already some plug-ins to stream data to other programs, such as:

- Unity

- Unreal

- Motion Builder

- Maya

- MATLAB: https://tutorial.xsens.com/video/streaming-into-matlab

 

However, it is possible to create your own plug-in. Xsens provides with the tools and the manual to create the plug-ins.

Scripts for download: Developer Toolkit (https://www.xsens.com/software-downloads)

Manual: https://www.xsens.com/hubfs/Downloads/Manuals/MVN_real-time_network_streaming_protocol_specification.pdf

 

Network Streamer window

mceclip0.png

 

  • Host: host IP adress of the computer you want to send the data to.
  • Port: number of the network port that you want to send the data to (this port number needs to match in all software you are using)
  • Protocol: Choose between UDP or TCP, depending on how you built your own plug-in
  • Stream rate: you can should the rate to which you want your data to be sent.
  • Avatar: choose the id of the avatar that you want to send data of. Create one stream for each avatar you are using. 
  • Send Paused:

Description of the different streams

Position + Orientation (Quaternion): Positions and orientation of each body segment, orientations in quaternion format, position units are in meters. This is the most accurate and preferred format for new application development. Use this to stream from one MVN Analyze/Animate to another. Select the ‘Scaling Data’ for proper visualization of the character mesh.

Position + Orientation (Euler): Position and orientation of each body segment. Orientations are Euler and position data is in meters. This is the format needed to send data to the MVN MotionBuilder (2018 and older) Live plug-in. See the MVN MotionBuilder plug-in user manual for further details.

Virtual Optical Marker Set: This protocol streams a set of virtual optical markers. This is the virtual marker set for the 1.0 Motion Builder plug-in. This data is not supported for playback in MVN Analyze/Animate.

Unity 3D: This setting should be selected in the network streamer for users of the Unity plugin. See the Unity plugin user manual for more details.

Network Sync JSON/XML: For triggering other (3rd party) software, in different formats.
Messages: session name + take number; file path where the recorded files are (to be) saved; start/stop recording 

Siemens Tecnomatix: For MVN Analyze customers, it is possible to stream data in real-time to Siemens PLM software using this selection. See separate user manual for set up.

Linear Segment Kinematics: Absolute segment position, linear velocity and linear acceleration.

Angular Segment Kinematics: Absolute segment orientation, angular velocity and angular acceleration.

Character Meta Data: Particularly useful when streaming data during multi-person capture, when selected, this protocol streams information inserted about the character including the character as inserted in the Navigator as well as the ID of the Body Pack or Awinda Station. This feature is supported by MVN Analyze/Animate as a network monitor.

Scaling data: This packet contains scaling information about the character, including the null pose definition and point definitions to scale a mesh.

Time Code: MVN Analyze/Animate contains a clock which starts running at the start of a recording. The clock measures the elapsed time in milliseconds. When data is sampled, the current value of the clock is also sampled and stored in the datagram(s) as a 32-bit unsigned integer value representing a time code. When this option is selected a string of this Time Code is streamed (HH:MM:SS.mmm).

Send Finger Tracking Data: This setting should be selected in the network streamer for users who want to include Finger tracking data.

Send Object Tracking Data: This setting should be selected in the network streamer for users who want to include Object tracking data.

Center of Mass: Absolute 3D position, velocity and acceleration of the center of mass.

Tracker Kinematics: Absolute 3D tracker orientation (quaternions) and free acceleration. Local acceleration, angular velocity and magnetic field of the sensor components.This feature is not supported by MVN Analyze/Animate as a network monitor.

Joint Angles: Data is contains point ID of the parent and child segment orientation and the joint angle in X,Y,Z. Including also ergonomic joint angles.

 

 

 

Was this article helpful?
0 out of 0 found this helpful
Do you have a question? Please post your question in our Community Forum