Note: This article applies to both Prime 3 Haptic XR Gloves and Prime 3 Mocap Gloves

Note: This article applies to both Quantum Mocap Metagloves and Quantum XR Metagloves.

Introduction

Recorded data can be exported as CSV (Comma Separated Values) file.

The CSV file contains a header describing the content on its first line and uses a delimiter to separate values in each row beneath it.

Use Case

By exporting finger data as CSV you get a simple and light-weight text file containing finger data.

Motion Capture

Create your own finger data motion capture pipeline, with easy to transfer and manipulate finger data. Extract the fingertip locations and drive your own IK system, extract the joint angles and determine the range-of-motion of fingers, process data based on joint acceleration and many more applications are possible.

Research & Development

Create your own finger data pipeline for machine learning, robotics, or life sciences research with software such as Matlab, Excel, Python, Scilab, and Octave. Any application capable of processing CSV data could be used to interpret, transform and visualize the finger data.

Finger Data

The CSV exporter offers the following data:

  • joint positions
  • joint rotations
  • positional joint velocity
  • positional joint acceleration
  • pinch distances
  • joint angles
  • joint angular velocity
  • joint angular acceleration


The available data offers a lot of possibility, and even offers the ability to calculate new data. For example jerk (the velocity of acceleration) or jounce (the acceleration of acceleration) can be calculated, as well as the lengths of bones (based on the distances between joints).

The CSV data is intended as a stepping stone for further processing and allows for very powerful transformations for automation, research and so on.

CSV Header

The CSV file contains a description of the data it contains on its first line.

A glimpse at the CSV header:

Keep in mind the header included an exported CSV file is not static, but is based on the data that is selected when exporting.

You can read the CSV Header Reference for more information about the available data.

Certain information, such as the unit system, can not directly be derived from the header.

Exporting

The CSV Export Dialog offers a lot customization which data and in what format it is exported. Since not all selected options can be derived from the header, it is important to keep track which settings you use.

Overview of Data Settings:

Finger Selection

You can select for which fingers you want to export data.

Hands

  • Thumb
  • Index
  • Middle
  • Ring
  • Pinky


Data Selection

You can select which data you want to export for the selected fingers.

Hand joints
  • Positions (Joint Positions)
    World space (absolute) positions of the joints on the X, Y and Z axis.
  • Rotations (Joint Rotations)
    World space (absolute) rotations of the joints on the X, Y, Z (and W) axis.
    The rotation order and rotation type can be configured in the export settings.
  • Velocity (Positional Joint Velocity)
    Positional velocity in unit / second of the wrist joint on the X, Y and Z axis.
    The unit system can be configured in the export settings.
  • Acceleration (Positional Joint Acceleration)
    Positional acceleration in unit / second^2 of the wrist joint on the X, Y and Z axis.
    The unit system can be configured in the export settings.
  • Pinch distances
    Distance in units between the thumb fingertip and other fingertips.
    The unit system can be configured in the export settings.


Ergonomics Data
  • Joint Angles
    Joint angle (abduction or adduction, i.e. splaying; flexion or (hyper)extension, i.e. bending) of the joint in degrees.
  • Angular Velocity (Angular Joint Velocity)
    Angular velocity (abduction or adduction, i.e. splaying; flexion or (hyper)extension, i.e. bending) in degrees / second of the joint.
  • Angular Acceleration (Angular Joint Acceleration)
    Angular acceleration (abduction or adduction, i.e. splaying; flexion or (hyper)extension, i.e. bending) in degrees / second^2 of the joint.

Hand Motion
  • None
    No hand position and rotation is exported.
  • IMU
    Hand rotation based on glove orientation sensor.
  • Tracker
    Hand position and rotation based on a connected external tracker (i.e. SteamVR tracker).
  • Tracker Rotation
    Hand rotation based on a connected external tracker (i.e. SteamVR tracker).

The exported hand position and rotation (i.e. wrist) is affected by which option is chosen.

Coordinate System

Presets

The CSV exporter comes with presets for the coordinate system for many 3D animation applications, game engines and other commonly used real-time applications:

  • Blender
  • Cinema4D
  • CryEngine
  • GLM
  • Godot
  • Houdini
  • Marmoset Toolbag
  • Maya
  • Modo
  • MotionBuilder
  • OpenCV
  • OpenGL
  • Source Engine
  • Unity
  • Unreal

Custom Configuration

The CSV exporter also offers the ability for custom settings for the coordinate system.Using this setting you can determine which axis is used for what data.

Overview of the Coordinate System settings:

  • Up Axis sets the up axis of the coordinate system.
  • View Axis sets the forward axis of the coordinate system.
  • Handedness sets the handedness of the coordinate system.

Please use the presets if you're not sure about specifying your own coordinate system.

Settings

Using the export setting you can define how data is exported.

Overview of the Export Settings:

  • Framerate sets the amount of frames per second.
  • Value separator sets which symbol is used for separating values.
  • Decimal point sets the decimal separator to support different language locales.
  • Units sets the unit system.
  • Items to export selects which user data will be exported.
  • Include SMPTE timecode signal uses timecoded time when recorded with timecode.
  • Rotation type sets the rotation system (Euler Angles or Quaternion).
  • Rotation order sets in which order rotations are saved. When reconstructing rotations, the order has to be inversed.

Hand Motion

None / IMU / Tracker Rotation

When exporting with no hand position data, the hands (i.e. wrists) will be placed at the center of the digital scene (i.e. 0,0,0). This means all positional data will be based on this hand position.

Example of no Hand Position data:

Tracker

When exporting with hand position data, the tracker data will be used to position the hands. This means all positional data will be based on the tracker location.

Example of Tracker Data driving the Hand Position:

Example of Visualizing CSV Data

The CSV data can easily be visualized to better understand it.

This example shows the index fingertip to thumb fingertip pinch distance.

Digital hand animation in FBX Review with CSV data in Excel with pinch distance graph:

  1. Hand pose on frame 684 displayed in FBX Review and CSV data is selected in Excel.
  2. Line graph displaying the pinch distance in millimeters at frame 684.
  3. Distance to Thumb of 0.486646cm, i.e. ~5mm.
  4. Distance between the thumb fingertip and index fingertip visualized in red.
  5. Contact point of the thumb fingertip and index fingertip visualized in red.
download pdf