LPVR is optimized to work with ART optical tracking. Should you use LPVR with an Optitrack optical tracking system, please refer to this article for the correct marker arrangement and body adjustment in Motive.

Overview

Make sure the LPVR-DUO driver is correctly installed as described in the Setup Instructions.

The calibration of LPVR-DUO consists of 2 parts:

Adjustments to the calibration are all done via the JSON configuration script of LPVR.

JSON Configuration File

See below a default configuration file for LPVR-DUO.

It is stored in your system as [path_to_your_driver]\resources\configuration\settings.json. You can edit the file directly using your favorite editor or use the LPVR web interface at http://localhost:7118/index.html.

NOTE:

{
  "PoseMachineConfig": {
    "absoluteSources": {
      "my_dtrack": {
        "settings": {
          "port": 5000,
          "oneBasedCounting": true
        },
        "type": "DTrack"
      }
    },
    "emitters": {
      "HMD": {
        "settings": {
          "type": "HMD"
        },
        "type": "OpenVR"
      },
      "console": {
        "type": "Console"
      }
    },
    "imuSources": {
      "hmd_imu": {
        "type": "ViveHeadset"
      },
      "ref_imu": {
        "type": "OpenZen",
        "settings": { "autodetectType": "ig1" }
      },
      "no_imu": {
        "type": "None"
      }
    },
    "trackedObjects": [
      {
        "absoluteSource": {
          "_the headset body id": "goes here",
          "name": "my_dtrack",
          "trackingId": 1
        },
        "combinerType": "DifferentialImu",
        "emitterName": "HMD",
        "imuSource": "hmd_imu",
        "settings": {
          "ignoreGravity": true,
          "opticalWeight": 0.005,
          "referenceImu": "ref_imu",
          "referenceOrientationQuat": {
            "w": 1,
            "x": 0,
            "y": 0,
            "z": 0
          },
          "referenceToOpticalQuat": {
            "w": 1,
            "x": 0,
            "y": 0,
            "z": 0
          }
        }
      },
      {
        "absoluteSource": {
          "_the reference IMU body": "goes here",
          "name": "my_dtrack",
          "trackingId": 2
        },
        "emitterName": "console",
        "imuSource": "no_imu"
      }
    ]
  }
}

With this configuration file

What you need to adjust manually:

ART DTrack Setup

Adjustment of HMD Rigid Body

Premade Rigid Body Calibration Files

If you would like to not go through the manual body calibration process, we provide a number of premade body calibration files for download on this page. These files have been calibrated using our automatic calibration algorithm and are a very close approximation of an ideal configuration.

Automatic Calibration

Please refer to our dedicated page Automatic HMD / ART-Body Intercalibration - LP-RESEARCH Knowledge Base - Confluence (atlassian.net)

Manual Calibration Procedure

Perform the following steps to adjust and calibrate the HMD rigid body and its attached IMU. These instructions are written specifically for ART’s DTrack software.

In the standard OpenVR coordinate system, the Z axis points “inside” the user’s head, the X-axis to the right and the Y-axis upwards. For a VIVE Pro LPVR setup this could similar to the following photos.

Example marker arrangement, front view. Two markers (for each axis) defining a horizontal line parallel to the X (red) and Y-axis (green) of the HMD will make it easier to adjust the rigid body coordinate system in the optical tracking software.

Example marker arrangement, top view.

Correctly aligned body origin, side view along X-axis.

Correctly aligned body origin, top view along Y-axis.

The system should work now for tracking the HMD within the optical tracking volume. In case you notice a slight misalignment of your head orientation and the orientation of the floor, or the floor is not horizontal, please make some small adjustments to the alignment of your HMD rigid body in the body alignment editor of the optical tracking system. In our experience, sometimes a few degrees adjustment of the Z-axis helps to make the orientation result feel perfectly natural.

Troubleshooting of HMD IMU Calibration

If alignment problems persist, please take the following steps to isolate the source of the problem:

Track headset with IMU-only (no optical)

With these settings the headset will be tracked by the HMD IMU only. When wearing the headset, if the IMU alignment settings are correct, orientation tracking should feel natural. Please note that without optical system there is no position tracking. If orientation tracking is not working well, the alignment between IMU and the HMD optics (display, lenses) is not good.

Track headset with optical system-only (no IMU)

Within the range of the optical system, the HMD should now be orientation and position tracked. The tracking will feel a lot less smooth when only using the optical system. However, this mode is a good way to assess the quality of the rigid body adjustment. If orientation tracking completely off, it is better to readjust the rigid body.

Adjustment of Vehicle Fixed IMU

Pre-defined Orientation

Calibration Procedure

After the above procedure the optical marker can be detached from the reference IMU.

NOTE: The reference IMU should now not be moved anymore. The system should now be sufficiently calibrated for operation.

You should now be able to display content fixed to the vehicle coordinate system. E.g. when you drive a curve in a vehicle and keep looking straight ahead, objects in VR/AR should not change their position and orientation.