Skip to main content

3. Data Casting

SDK Broadcasting Data​

  1. Click the "Data Broadcasting" function in the toolbar at the top of the interface to open the data broadcasting function panel. The default network card address of XINGYING software is "10.1.1.198". You can also change the IP address in the drop-down box for the network card address.

  2. XINGYING software supports SDK secondary development. You can broadcast data and use it on this machine or other computers within the same IP subnet. You can change the IP address through the drop-down box in the "Network Card Address". The network card address set is the address for sending data from the server. If you want to receive data automatically captured, the client computer needs to be in the same subnet as the server.

  3. It can be combined with C++_SDK to obtain motion capture data in real time. For details, please consult the Nokov technical engineer.

  4. Enable SDK: After checking the SDK option, the motion capture data will be broadcasted outward through the set network card IP address in the SDK protocol.

    • In real-time mode, the left bottom corner of the 3D view can display the current software delay in real time. In post-processing mode, the delay is not displayed.
    • After checking the SDK, the software will save this configuration. When starting the software next time, it will default to checking the SDK.
  5. Mode: Supports multicast or unicast to send motion capture data outward.

  6. Bone coordinates: The default bone coordinates are "global". You can set "global" or "local" in the drop-down list. After setting the bone coordinates, this setting will be saved in the configuration. When starting XINGYING next time, the bone coordinates will display the last set bone coordinate type.

    • Global: The motion capture data sent outward by the SDK is sent in the form of global bone coordinates. The bone data obtained by the client is the global bone coordinate data.
    • Local: The motion capture data sent outward by the SDK is sent in the form of local bone coordinates. The bone data obtained by the client is the local bone coordinate data.
    • If the SDK sends rigid body data, the bone data sent outward in both global or local types is the same, without any difference. If the sent data is of human type, the bone data sent outward in both global or local bone coordinates will have certain differences.
    • To modify the bone coordinate type, the "SDK" needs to be turned off first. Otherwise, the bone coordinate function will be grayed out and cannot be modified.
5-3-1

VRPN Streaming​

  1. In the "Data Broadcasting" function panel, enable VRPN. After enabling VRPN, the motion capture data will be broadcasted outward via the set network card IP address in the VRPN protocol;

  2. Bone coordinates: The default bone coordinates are "global". You can also set "global" or "local" in the drop-down list. After setting the bone coordinates, this setting will be saved in the configuration. When XINGYING is started next time, the bone coordinates will display the type of bone coordinates set last time.

    • Global: The motion capture data sent outward by VRPN is sent in the form of global bone coordinates, and the bone data obtained by the client is the data of global bone coordinates;
    • Local: The motion capture data sent outward by VRPN is sent in the form of local bone coordinates, and the bone data obtained by the client is the data of local bone coordinates;
  3. Type: Select one or more types from the three options of "Rigid Body", "Marker Point", and "Unnamed Marker Point" to broadcast and send data outward.

    • If you choose the "Rigid Body" type, enable VRPN and then broadcast and send real-time rigid body data outward.
    • Select the "Marker Point" type, enable VRPN, and then broadcast and send real-time data of all named points of the rigid body and human body. The names of the named points of the rigid body and human body can be viewed in the Asset Panel - Component - Marker List of the XINGYING software.
    • Select the "Unnamed Mark Point" type, enable VRPN, and then broadcast and send all the data of the unnamed points outward.
  4. VRPN data can be sent in both real-time mode and post-processing mode; open-source source codes or tools can be used to obtain VRPN data.

  5. Unit: The default unit is "millimeter", and there are three units ("millimeter", "centimeter", "meter") that can be set. After changing the unit, the unit of the sent VRPN data will be the one set.

  6. Inversion:

    • Select the x, y, and z checkboxes. The XYZ coordinate data of the rigid body/point/marked point will undergo sign inversion.
    • Select the "qx, qy, qz" checkboxes. The rotation data of the rigid body will undergo sign reversal.
  7. Offset: You can set the "x, y, z" coordinate offsets for the variable data. After modifying the x, y, and z offset values, the modified values will be added to the original coordinate values in VRPN.

  8. Speed/Acceleration: Check this option and VRPN will broadcast the speed/acceleration data externally.

  9. Frame Factor: Used for speed calculation. By adjusting the frame factor, the actual speed value can be made close to the output speed value.

5-3-2