Skip to content

Instantly share code, notes, and snippets.

@cnlohr
Created March 26, 2018 20:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnlohr/7cd6bf515ed213a4cd642de4cc195d79 to your computer and use it in GitHub Desktop.
Save cnlohr/7cd6bf515ed213a4cd642de4cc195d79 to your computer and use it in GitHub Desktop.
Charles' Vive HMD config json
{
"acc_bias": [
0.1137,
-0.075,
-0.4349
],
"acc_scale": [
1.001,
0.9997,
0.9995
],
"device": {
"eye_target_height_in_pixels": 1200,
"eye_target_width_in_pixels": 1080,
"first_eye": "eEYE_LEFT",
"last_eye": "eEYE_RIGHT",
"num_windows": 1,
"persistence": 0.011110999621450901,
"physical_aspect_x_over_y": 0.8999999761581421
},
"device_class": "hmd",
"device_pid": 8192,
"device_serial_number": "LHR-B4AB18B0",
"device_vid": 10462,
"display_edid": [
"",
""
],
"display_gc": {
"black_clamp": 0.0117647061124444
},
"display_mc": {
"left": "Green_46GA16AL014122_mura_analyzes.mc",
"offset": -0.49803921580314636,
"right": "Green_46HA16AL015390_mura_analyzes.mc",
"scale": 0.125,
"type": 1
},
"gyro_bias": [
0.04142,
0.001464,
-0.02281
],
"gyro_scale": [
1.0,
1.0,
1.0
],
"htcComposeTime": "2016-10-28 04:07:51.594000",
"l_revision": 29326,
"lens_separation": 0.06219471991062164,
"lighthouse_config": {
"channelMap": [
0,
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
],
"modelNormals": [
[
0.6565292477607727,
0.08003702759742737,
0.7500423192977905
],
[
1,
0,
0
],
[
0.9510334134101868,
0.1922958791255951,
-0.24198685586452484
],
[
0.8633409738540649,
0.26114100217819214,
-0.43179601430892944
],
[
0.5620832443237305,
0.8270804286003113,
-0.0007020003395155072
],
[
0.5567418932914734,
0.8186168074607849,
-0.1410849690437317
],
[
0.12751400470733643,
0.36096900701522827,
0.9238190054893494
],
[
0.19732795655727386,
0.7212077975273132,
0.6640188097953796
],
[
0.19732792675495148,
-0.7205037474632263,
0.6647827625274658
],
[
0.4602000117301941,
0.003066000062972307,
0.8878099918365479
],
[
0.025263000279664993,
-0.7483329772949219,
0.6628419756889343
],
[
0.5567419528961182,
-0.8187658786773682,
-0.14021699130535126
],
[
0.5620829463005066,
-0.8270809054374695,
0.00017499997920822352
],
[
0.8633410930633545,
-0.26159802079200745,
-0.4315190613269806
],
[
0.9510335326194763,
-0.19255191087722778,
-0.24178287386894226
],
[
0.6565289497375488,
-0.07924199104309082,
0.7501268982887268
],
[
-0.19732795655727386,
0.7212077975273132,
0.6640188097953796
],
[
-0.12751400470733643,
0.36096900701522827,
0.9238190054893494
],
[
-0.5567418932914734,
0.8186168074607849,
-0.1410849690437317
],
[
-0.5620832443237305,
0.8270804286003113,
-0.0007020003395155072
],
[
-0.8633409738540649,
0.26114100217819214,
-0.43179601430892944
],
[
-0.9510334134101868,
0.1922958791255951,
-0.24198685586452484
],
[
-1,
0,
0
],
[
-0.6565292477607727,
0.08003702759742737,
0.7500423192977905
],
[
-0.6565289497375488,
-0.07924199104309082,
0.7501268982887268
],
[
-0.9510335326194763,
-0.19255191087722778,
-0.24178287386894226
],
[
-0.8633410930633545,
-0.26159802079200745,
-0.4315190613269806
],
[
-0.5620829463005066,
-0.8270809054374695,
0.00017499997920822352
],
[
-0.5567419528961182,
-0.8187658786773682,
-0.14021699130535126
],
[
-0.025263000279664993,
-0.7483329772949219,
0.6628419756889343
],
[
-0.4602000117301941,
0.003066000062972307,
0.8878099918365479
],
[
-0.19732792675495148,
-0.7205037474632263,
0.6647827625274658
]
],
"modelPoints": [
[
0.08518143743276596,
0.017062144353985786,
0.04640356823801994
],
[
0.09299874305725098,
-9.77110757958144e-05,
0.03490303456783295
],
[
0.0866357758641243,
0.016550032421946526,
0.020586593076586723
],
[
0.0896136462688446,
0.029156366363167763,
0.0296088345348835
],
[
0.07996707409620285,
0.04522520303726196,
0.03478708118200302
],
[
0.05082200840115547,
0.0525379441678524,
0.03328508138656616
],
[
0.02431630529463291,
0.0200039092451334,
0.05943312123417854
],
[
0.04736604541540146,
0.03358921408653259,
0.05357927456498146
],
[
0.04778143763542175,
-0.034000154584646225,
0.05348391830921173
],
[
0.05795735865831375,
-3.651010774774477e-05,
0.05651696398854256
],
[
0.02757195383310318,
-0.051707036793231964,
0.046649035066366196
],
[
0.05145823583006859,
-0.05293474718928337,
0.03312348574399948
],
[
0.08054577559232712,
-0.04522349312901497,
0.03467874228954315
],
[
0.08995519578456879,
-0.029309064149856567,
0.02968563325703144
],
[
0.0868583470582962,
-0.016645202413201332,
0.020546138286590576
],
[
0.08528480678796768,
-0.01717553101480007,
0.04645363613963127
],
[
-0.04789695516228676,
0.03364776074886322,
0.05359702929854393
],
[
-0.02451552450656891,
0.020054345950484276,
0.05939493328332901
],
[
-0.05120636895298958,
0.05282235145568848,
0.033184923231601715
],
[
-0.08026022464036942,
0.045291341841220856,
0.034813448786735535
],
[
-0.08975434303283691,
0.02939225733280182,
0.029623806476593018
],
[
-0.08676112443208694,
0.01667257957160473,
0.02072800137102604
],
[
-0.09296955168247223,
0.00019559808424673975,
0.034909311681985855
],
[
-0.08538919687271118,
0.01735016517341137,
0.046313270926475525
],
[
-0.08526882529258728,
-0.017100226134061813,
0.046251364052295685
],
[
-0.08669501543045044,
-0.016456371173262596,
0.020705312490463257
],
[
-0.08958882093429565,
-0.0292942076921463,
0.029727233573794365
],
[
-0.08019855618476868,
-0.04522521793842316,
0.0346868671476841
],
[
-0.05091847851872444,
-0.052784282714128494,
0.03316209465265274
],
[
-0.027258513495326042,
-0.051615241914987564,
0.04688679054379463
],
[
-0.0580756776034832,
6.801447852922138e-06,
0.05650037154555321
],
[
-0.047557104378938675,
-0.03394269943237305,
0.0535212866961956
]
]
},
"manufacturer": "HTC",
"mb_serial_number": "42JB16AG02803",
"model_number": "Vive MV",
"render_model": "",
"revision": 1,
"tracking_to_eye_transform": [
{
"distortion": {
"center_x": 0.09277288043927107,
"center_y": -0.002376578256752492,
"coeffs": [
-0.225727651356669,
-0.01295692757685622,
-0.05497579644032308,
0.0,
0.0,
0.0,
0.0,
0.0
],
"type": "DISTORT_DPOLY3"
},
"distortion_blue": {
"center_x": 0.09277288043927107,
"center_y": -0.002376578256752492,
"coeffs": [
-0.2717086142324882,
0.05890703424392485,
-0.09524726881834779,
0.0,
0.0,
0.0,
0.0,
0.0
],
"type": "DISTORT_DPOLY3"
},
"distortion_red": {
"center_x": 0.09277288043927107,
"center_y": -0.002376578256752492,
"coeffs": [
-0.1890473433082222,
-0.07084099974228653,
-0.02335467176841315,
0.0,
0.0,
0.0,
0.0,
0.0
],
"type": "DISTORT_DPOLY3"
},
"extrinsics": [
[
1.0,
0.0,
0.0,
0.03109734132885933
],
[
0.0,
1.0,
0.0,
-2.235174179077148e-08
],
[
0.0,
0.0,
1.0,
-7.450580596923828e-09
]
],
"grow_for_undistort": 0.6000000238418579,
"intrinsics": [
[
1.210617542266846,
0.0,
-0.09277287870645523
],
[
0.0,
1.089818596839905,
-0.002138920361176133
],
[
0.0,
0.0,
-1.0
]
],
"undistort_r2_cutoff": 1.130416512489319
},
{
"distortion": {
"center_x": -0.08828515290186636,
"center_y": -0.007605666338148214,
"coeffs": [
-0.2197348063678951,
-0.03454631893567223,
-0.03553521209610806,
0.0,
0.0,
0.0,
0.0,
0.0
],
"type": "DISTORT_DPOLY3"
},
"distortion_blue": {
"center_x": -0.08828515290186636,
"center_y": -0.007605666338148214,
"coeffs": [
-0.2666961315150028,
0.04421063598605136,
-0.08216201390932489,
0.0,
0.0,
0.0,
0.0,
0.0
],
"type": "DISTORT_DPOLY3"
},
"distortion_red": {
"center_x": -0.08828515290186636,
"center_y": -0.007605666338148214,
"coeffs": [
-0.1836426394551924,
-0.09110342022160808,
-0.004603056132356305,
0.0,
0.0,
0.0,
0.0,
0.0
],
"type": "DISTORT_DPOLY3"
},
"extrinsics": [
[
1.0,
0.0,
0.0,
-0.03109737858176231
],
[
0.0,
1.0,
0.0,
-2.235174179077148e-08
],
[
0.0,
0.0,
1.0,
-7.450580596923828e-09
]
],
"grow_for_undistort": 0.6000000238418579,
"intrinsics": [
[
1.212832450866699,
0.0,
0.08828515559434891
],
[
0.0,
1.0913987159729,
-0.006845099851489067
],
[
0.0,
0.0,
-1.0
]
],
"undistort_r2_cutoff": 1.079905509948731
}
],
"trackref_from_head": [
0,
-1,
0,
0,
0,
0,
-0.021630236878991127
],
"trackref_from_imu": [
0,
0,
-1,
0,
-0.008495164103806019,
-0.004968234803527594,
0.04987109825015068
],
"tracked_camera":
{
"version":"1.0.6.0.4",
"pitch":-0.026938,
"yaw":0.007044,
"roll":-0.008757,
"intrinsics":
{
"width" :612,
"height" :460,
"center_x" :311.800201,
"center_y" :240.439987,
"focal_x" :289.800049,
"focal_y" :289.800049,
"distort":
{
"center_x" :0.000000,
"center_y" :0.000000,
"coeffs" :[0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000],
"type" :"DISTORT_FTHETA"
}
}
},
"type": "Lighthouse_HMD"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment