Varjo HMD
Node ID: varjoHmd · Role: Filter · Realtime config: no
Description
Bidirectional ZMQ bridge to the LPVR Varjo Base plugin. Receives IMU samples from the Varjo HMD (with hardware calibration applied in the plugin) and forwards FusedPose back to Varjo Base for rendering. Includes gyro autocalibration.
Inputs / Outputs
- Inputs:
FusedPose - Outputs:
Imu
Config aliases
varjoHmd, VarjoHmd, varjo
Required feature
varjo_hmd
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.
| Property | Type | Default | Description |
|---|---|---|---|
Plugin IMU Endpoint imuEndpoint | string | tcp://127.0.0.1:9930 | |
FusedPose Publish Endpoint fusedPoseEndpoint | string | tcp://*:9931 | |
Sender ID senderId | string | varjo_hmd | |
Enable Gyro Autocalibration enableGyroAutocalibration | boolean | true | |
Autocal: Samples for Steady nSamplesForSteady | number | 256 | |
Autocal: Samples for Calibration nSamplesForAutocalibration | number | 1500 | |
Autocal: Steady Threshold (deg/s) steadyThresholdAverage | number | 2.0 | |
Autocal: Steady RMS Threshold steadyThresholdRms | number | 2.0 | |
Autocal: Noise RMS Limit noiseRmsLimit | number | 0.2 |
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": {
"varjoHmd": {
"dataEndpoint": "inproc://varjoHmd_data",
"inputEndpoints": [
"inproc://fusedPose_data"
],
"inputDataFilter": [
"FusedPose"
],
"settings": {}
}
}
}