Susi Server

ALVR Bridge

Node ID: alvr · Role: Filter · Realtime config: no

Description

Bidirectional ZMQ bridge between FusionHub and LPALVR. Sends fused pose to the VR headset, receives IMU data and native tracking pose back.

Inputs / Outputs

Config aliases

alvr, AlvrBridge, alvrBridge

Properties

Each row shows the setting’s label in the node’s Properties panel and, in code, its key in the node’s settings object in the config file. A setting omitted from the config file uses the default shown here.

PropertyTypeDefaultDescription
ALVR IMU Endpoint imuEndpointstringtcp://127.0.0.1:8898ZMQ endpoint to connect to for receiving IMU data from the ALVR headset.
ALVR Native Pose Endpoint nativePoseEndpointstringtcp://127.0.0.1:8899ZMQ endpoint to connect to for receiving the headset’s native SLAM pose.
FusedPose Publish Endpoint poseEndpointstringtcp://*:8799ZMQ endpoint this node binds to publish the FusionHub fused pose back to ALVR.
Left Controller Endpoint leftControllerEndpointstringtcp://*:8500ZMQ endpoint this node binds for left-controller pose publication.
Right Controller Endpoint rightControllerEndpointstringtcp://*:8501ZMQ endpoint this node binds for right-controller pose publication.

Example node definition

A minimal entry in config.json looks like the block below. Paste it under the sinks key, keyed by an instance name of your choice. All settings are optional: anything not listed under settings uses the default from the Properties table above. See The configuration file for how the sections and endpoint wiring work.

{
  "sinks": {
    "alvr": {
      "dataEndpoint": "inproc://alvr_data",
      "inputEndpoints": [
        "inproc://fusedPose_data",
        "inproc://optical_data"
      ],
      "inputDataFilter": [
        "FusedPose",
        "Optical"
      ],
      "settings": {}
    }
  }
}
Loading documentation…