Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
hdk2 config
{
"sleep": 0,
"renderManagerConfig": {
"meta": {
"schemaVersion": 1
},
"renderManagerConfig": {
"directModeEnabled": false,
"directDisplayIndex": 0,
"directHighPriorityEnabled": true,
"numBuffers": 2,
"verticalSyncEnabled": true,
"verticalSyncBlockRenderingEnabled": true,
"renderOverfillFactor": 1.2,
"renderOversampleFactor": 1.0,
"window": {
"title": "OSVR",
"fullScreenEnabled": true,
"xPosition": 1920,
"yPosition": 0
},
"display": {
"rotation": 180,
"bitsPerColor": 8
},
"prediction": {
"enabled": true,
"staticDelayMS": 26,
"leftEyeDelayMS": 0,
"rightEyeDelayMS": 0,
"localTimeOverride": true
},
"timeWarp": {
"enabled": true,
"asynchronous": false,
"maxMsBeforeVSync": 0
}
}
},
"display": {
"meta": {
"schemaVersion": 1
},
"hmd": {
"device": {
"properties": {
"vendor": "OSVR",
"model": "HDK",
"num_displays": 2,
"Version": "2.0",
"Note": "OSVR HDK 2.0 in DirectMode"
}
},
"field_of_view": {
"monocular_horizontal": 92,
"monocular_vertical": 92,
"overlap_percent": 100,
"pitch_tilt": 0
},
"resolutions": [
{
"width": 2160,
"height": 1200,
"video_inputs": 1,
"display_mode": "horz_side_by_side",
"swap_eyes": 0
}
],
"distortion": {
"type": "mono_point_samples",
"mono_point_samples_built_in": "OSVR_HDK_20_V1"
},
"rendering": {
"right_roll": 0,
"left_roll": 0
},
"eyes": [
{
"center_proj_x": 0.5,
"center_proj_y": 0.5,
"rotate_180": 0
},
{
"center_proj_x": 0.5,
"center_proj_y": 0.5,
"rotate_180": 0
}
]
}
},
"drivers": [{
"plugin": "com_osvr_VideoBasedHMDTracker",
"driver": "VideoBasedHMDTracker",
"params": {
"showDebug": false,
"includeRearPanel": true,
"headCircumference": 55.75,
"calibrationFile": "/var/tmp/videotrackerCombinedCalibrationFile13.json"
}
}, {
"plugin": "org_osvr_filter_videoimufusion",
"driver": "VideoIMUFusion",
"params": {
"name": "HeadFusion",
"input": {
"imu": "/com_osvr_Multiserver/OSVRHackerDevKitPrediction0/semantic/hmd",
"faceplate": "/com_osvr_VideoBasedHMDTracker/TrackedCamera0_0/semantic/hmd/front"
},
"eyeHeight": 0,
"cameraIsForward": true
}
}],
"aliases": {
"/headSpace": {
"translate": [0.0, 0.0, 0.04141],
"child": "/org_osvr_filter_videoimufusion/HeadFusion/semantic/fused"
},
"/me/head": "/headSpace"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.