Data Cast

SDK Broadcasting Data

Click on 'Data Castting' at the top of the software interface. The default network card address for XINGYING software is '10.1.1.198'. The IP address can also be changed in the drop-down box.

XINGYING software supports SDK secondary development, allowing data broadcasting for usage on the same machine or other computers within the same IP segment. The IP address can be changed in Live through the drop-down box in 'Network Card Address'. The set network card address is the address from which the server sends data. To receive data from motion capture, the client computer needs to remain in the same network segment as the server.

The software supports dynamic IP acquisition, eliminating the need to restart the software. It can work in tandem with C++/C# and other plugins to acquire motion capture data in real time. Please consult our technical engineers to get the plugin version.

SDK Streaming: The 'SDK Enable' option is not selected by default. This feature can be selected when the camera is not connected or pause.After selecting SDK, the software will save this configuration, and the SDK will be selected by default when the software is subsequently started. After enabling SDK, motion capture data will be broadcasted externally through the set network card IP address using the SDK protocol. The 'Mode' underneath is set to 'Multicast' by default in the software and cannot be changed.

Broadcasting panel

After selecting the SDK option, the lower left corner of the 3D view in Live mode can display the delay time and unit in real time. If the SDK function is turned off, the delay time information will not be displayed. The SDK delay time will not be displayed in real time in the Edit mode.

Latency in real time

VRPN Streaming

Please pause the software or enable VRPN in 'Data Castting' when the camera is not connected before turning on VRPN. After enabling VRPN, motion capture data will be broadcasted externally through the set network card IP address using the VRPN protocol.

VRPN can be divided into three types: 'Rigid', 'Marker', and 'Marker(Unnamed)'. Both Live mode and Edit mode can use VRPN to transmit data. Before using VRPN, you can use our 'NokovVrpnClient.exe' test tool to verify whether VRPN data can be obtained. You can also use open source code or tools to obtain the VRPN data in our motion capture. Below is a brief introduction on how to use the NokovVrpnClient test tool to obtain different types of data (please consult the technical engineer if you need this test tool).

Checking the 'Rigid' type indicates sending information data about the rigid body. The naming method in the test tool is 'Rigid Body Name @10.1.1.198'. Check 'Rigid' and 'VRPN Enable ', and after checking, click play to put the camera into play mode. Use the cmd command to enter the path where the NokovVrpnClient.exe file is located in the terminal, input the command '.\NokovVrpnClient.exe Tracker0@10.1.1.198' and press enter , you can obtain the rigid body data in motion capture, where 'Tracker0' corresponds to the name of the rigid body in the motion capture software.

Vrpn Streaming
Input command to obtain the rigid body data

The naming method for the human body is 'MarkerSet Name_Skeleton Name'. For example, to get the information of the human head skeleton, input the command '.\NokovVrpnClient.exe Body0_SHead@10.1.1.198' and press enter, you can then obtain the head skeleton data of the human body named Body0. 'SHead' represents the name of the human head skeleton. If you want to get information on other human skeletons, you only need to replace 'SHead' with the corresponding skeleton name.

'Marker' type indicates sending information data about named Marker points. The naming method in the test tool is 'Rigid Body Name_Marker Name @10.1.1.198'. After checking 'Marker' and 'VRPN', click play to put the camera into play mode. Use the cmd command to enter the path where the NokovVrpnClient.exe file is located in the terminal. For example, to get the data of the point 'Marker1' belonging to the rigid body 'Tracker0', you can run the command '.\NokovVrpnClient.exe Tracker0_Marker1@10.1.1.198' and press enter then you can get the information data of the point 'Marker1', where 'Tracker0' corresponds to the name of the rigid body in the software, and 'Marker1' represents the name of the point belonging to the rigid body 'Tracker0'. The specific names of the points of the rigid body can be seen in the Assets - Component - Markers list.

Input command to obtain the Marker1 in Tracker0 data

'Marker(Unnamed)' refers to sending information data about unnamed Marker points. The naming method is 'U_Tracker+Unnamed Marker Index (starting from 0) @10.1.1.198'. Check 'Marker(Unnamed) and 'VRPN Enable', and after checking, click play to put the camera into play mode. Use the cmd command to enter the path where the NokovVrpnClient.exe file is located in the terminal, input the command '.\NokovVrpnClient.exe U_Tracker0@10.1.1.198' and press enter , you can then obtain the information data of the unnamed Marker points. Here, 'U_Tarcker0' represents the first unnamed point. If you want to get the information data of the second unnamed point, change 'U_Tarcker0' to 'U_Tracker1', which represents the second unnamed point.

Input command to obtain Unnamed marker data

The 'Unit' option box represents different units. In the option box, you can change the unit of data, including 'millimeter', 'centimeter', and 'meter'. After changing the unit, the data in VRPN will also increase or decrease with the change of the unit.

In 'Invert', checking x, y, z coordinates means to reverse the sign of the variables checked in 'Type'. 'qx, qy, qz' represent the rotation data of the rigid body. After checking 'Rigid Body' and running '.\NokovVrpnClient.exe Tracker0@10.1.1.198', 'quat' can display the rotation data of the rigid body 'Tracker0'. After checking 'qx, qy, qz', the coordinate values of 'quat' will be inverted. The 'quat' value only displays the rotation of the rigid body and does not display the rotation information of variables 'Marker' and 'Marker(Unnamed)' .

In 'Offset', you can set the 'x, y, z' coordinate offsets for the variable data. After adjusting the offset values, VRPN will add these modified values to the original coordinate values.

'Velocity' and 'Acceleration', when checked, will output corresponding data in VRPN. 'Frames' is used for speed calculation; adjusting the frame factor can make the actual speed value close to the output speed value.

Last updated