Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If it’s not running yet make sure to start and configure your optical tracking system. Once optical data is streamed to FusionHub, the nOptical counter in the GUI should be increasing.

  • Default configuration script with optical input defined for ART DTrack:

Code Block
{
  "LicenseInfo": {
    "LicenseKey": "",
    "ResponseKey": ""
  },
  "settings": {
    "websocketDataOutputRate": 20
  },
  "sinks": {
    "VRPN": {
      "settings": {
        "inputEndpoints": [
          "inproc://optical_data_source_1"
        ],
        "settings": {
          "deviceName": "FusionHub",
          "port": 3883,
          "tracker0": "HMD"
        }
      }
    },
    "fusion": {
      "dataEndpoint": "tcp://*:8799",
      "inputEndpoints": [
        "inproc://optical_data_source_1",
        "tcp://localhost:8898"
      ],
      "settings": {
        "Autocalibration": {
          "minAgeS": 60,
          "nSamplesForAutocalibration": 1500,
          "nSamplesForSteady": 256,
          "noiseRmsLimit": 0.02,
          "steadyThresholdAverage": 0.2,
          "steadyThresholdRms": 1
        },
        "Intercalibration": {},
        "MotionDetection": {
          "omegaLimit": 3,
          "positionSampleInterval": 1000,
          "rotationFilterAlpha": 0.9,
          "timeToUnknown": 500
        },
        "SensorFusion": {
          "alignment": {
            "w": 0.990892966476337,
            "x": 0.13458639604387848,
            "y": 0.0005637732357904688,
            "z": 0.004160907038605602
          },
          "orientationWeight": 0.005,
          "predictionIntervalMs": 0,
          "sggPointsEachSide": 5,
          "sggPolynomialOrder": 5,
          "tiltCorrection": null,
          "yawWeight": 0.01
        },
        "runIntercalibration": false
      },
      "type": "ImuOpticalFusion"
    }
  },
  "sources": {
    "optical": {
      "settings": {
        "bodyIDs": [
          1
        ],
        "endpoints": [
          "inproc://optical_data_source_1"
        ],
        "port": 5000
      },
      "type": "DTrack"
    }
  }
}
Info

Press the buttons ‘Set’ and ‘Save’ after changing the configuration script to make your changes active. It might take 1-2 seconds for FusionHub to reset.

In case you happen to enter an invalid configuration, FusionHub might not restart correctly. If you would like to reset your settings, just re-install the FusionHub APK.

Once the configuration is correct, you’ll most likely not have to touch the script again in the foreseeable future.

ALVR

  • Start the ALVR server on the host. While the ALVR server starts up, it will automatically run SteamVR.

  • Start the ALVR client on the HMD. The HMD should be shown in the list of ALVR clients in the ALVR server application. In some cases you need to click the Trust button in the application to start streaming.

  • You can now use and calibrate the system as described in the FusionHub BASE section.

...