-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathosvr_server_config.json
More file actions
executable file
·41 lines (41 loc) · 1.52 KB
/
osvr_server_config.json
File metadata and controls
executable file
·41 lines (41 loc) · 1.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
/*
This configuration supports the MRI plug-in for sharing an OSVR HDK IMU
and the OSVR provided dead-reckoning of the IMU.
*/
"display": "displays/OSVR_HDK_1_1.json",
"renderManagerConfig": "sample-configs/renderManager.direct.portrait.json",
"drivers": [
{
"plugin": "org_osvr_filter_deadreckoningrotation",
"driver": "DeadReckoningRotationTracker",
"params": {
"name": "FilteredHead",
"input": "com_motionreality_OSVR_SharedIMU/OSVR_SharedIMU",
"numSensors": 1,
"predictMilliSeconds": 20 /* Tweak this */
}
}
],
"aliases": {
"/headspace": {
/* This alias is needed because the Dead Reckoning rotation plugin device description
accesses the raw IMU data and ignores the OSVR-SharedIMU device descriptor. This
means that the output format matches the input format and isn't corrected by a
built-in descriptor. We add this alias here to correct for that. */
"rotate": {
"axis": "x",
"degrees": 90
},
"child": {
"changeBasis": {
"x": "-x",
"y": "-z",
"z": "y"
},
"child": "/org_osvr_filter_deadreckoningrotation/FilteredHead/tracker/0"
}
},
"/me/head": "/headspace"
}
}