Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b57492ced4
|
||
|
|
287ec38324
|
||
|
|
1e132d1093
|
||
|
|
afb3789c1e
|
||
|
|
d36b729b06
|
||
|
|
9f6d1191f2
|
||
|
|
7c8a577928
|
||
|
|
8a2c5ac738
|
||
|
|
1b704d9010
|
||
|
|
5fb678700e
|
||
|
|
7ec73736a2
|
||
|
|
a97a6c5920
|
||
|
|
d134125217
|
||
|
|
8559022f2c
|
||
|
|
514f3d920c
|
||
|
|
bbf2b1f396
|
||
|
|
10c8051cf0
|
||
|
|
2a5023c34c
|
||
|
|
d706384c68
|
||
|
|
aa58c6f142
|
||
|
|
e343103be1
|
||
|
|
0159ec492e
|
||
|
|
c67382c075
|
||
|
|
1e5334a099
|
||
|
|
5a4ec78123
|
||
|
|
88cc3b8b70
|
||
|
|
b7297ccc6e
|
||
|
|
aa57b164d6
|
||
|
|
2be973cce0
|
||
|
|
a6bb54af47
|
||
|
|
6115b809b0
|
||
|
|
95c077207b
|
||
|
|
5557157dcc
|
||
|
|
b82bebf126
|
||
|
|
cfa1504bc0
|
||
|
|
aa171a77a9
|
||
|
|
d310d30de6
|
||
|
|
2a394c392a
|
||
|
|
6e5559c406
|
||
|
|
6a29c51b2e
|
||
|
|
1aa59fab45
|
||
|
|
db03a4a609
|
||
|
|
d11f03c589
|
||
|
|
2905c1cb59
|
||
|
|
84c044275f
|
||
|
|
78aca95d11
|
||
|
|
7127eda4c8
|
||
|
|
dae3999d9e
|
||
|
|
a3efa62bdf
|
||
|
|
6153caf4c8
|
||
|
|
c709f526be
|
||
|
|
44510c5f74
|
||
|
|
09790e4859
|
||
|
|
f2c796c5b7
|
||
|
|
4414dbfefd
|
||
|
|
275bcaf488
|
||
|
|
01d44d9b7c
|
||
|
|
c8d92cc8f6
|
||
|
|
3eb5b7db3e
|
||
|
|
02ae79f532
|
||
|
|
4eb2c8fb81
|
||
|
|
14b734ce80
|
||
|
|
27f2b6810e
|
||
|
|
0b40e34876
|
||
|
|
f36ad2672b
|
||
|
|
e576569d4c
|
||
|
|
43d325bfce
|
||
|
|
a207c3846a
|
||
|
|
9ffbcae5b5
|
||
|
|
bbd813a7ba
|
||
|
|
f964a00353
|
||
|
|
dfbee1064c
|
||
|
|
8227ebf91a
|
||
|
|
4ebb22fd41
|
||
|
|
5f9d0b6145
|
||
|
|
238db6d527
|
||
|
|
eff104d889
|
||
|
|
fe4351f451
|
||
|
|
26c834820a
|
||
|
|
6e1adc8bb6
|
||
|
|
b934700c74
|
||
|
|
969b356270
|
||
|
|
426f477dfc
|
||
|
|
e00a4ce4d3
|
||
|
|
0be660e411
|
||
|
|
360801b574
|
||
|
|
837739e8c8
|
||
|
|
2177e41dea
|
||
|
|
cef4d58440
|
||
|
|
cfc68fea72
|
||
|
|
dafcde807c
|
||
|
|
a6025cb793
|
||
|
|
78f0d43637
|
||
|
|
e7e821f570
|
||
|
|
a1512f2cef
|
||
|
|
292b746043
|
||
|
|
030a71996e
|
||
|
|
563334317c
|
||
|
|
f874087596
|
||
|
|
9a808242b7
|
||
|
|
85e4b8967c
|
||
|
|
ae6793166a
|
||
|
|
5c8066850d
|
||
|
|
ae169cd184
|
||
|
|
1f1290094f
|
||
|
|
937eb5996d
|
||
|
|
405a3f426e
|
||
|
|
6767753bfb
|
||
|
|
4866564edc
|
||
|
|
cc34976b5c
|
||
|
|
726984fe4c
|
||
|
|
37820cac97
|
||
|
|
15cc08aeeb
|
||
|
|
825fa9d46c
|
||
|
|
f6d1a65003
|
||
|
|
a33cc1b679
|
||
|
|
84d0e5f7dd
|
||
|
|
67b2747632
|
||
|
|
52345b5427
|
||
|
|
8c7180dd0d
|
||
|
|
6d8c75ad07
|
||
|
|
30410ed00f
|
||
|
|
2571b7e163
|
||
|
|
15c713d27e
|
||
|
|
a1be910d47
|
||
|
|
c0e286ac44
|
||
|
|
e7a7e2bde8
|
||
|
|
2cedcdc18e
|
||
|
|
deced25632
|
||
|
|
e7a5321c8e
|
||
|
|
21738c2c48
|
||
|
|
fbe29db4dc
|
||
|
|
e917182c17
|
||
|
|
39b5ee1191
|
||
|
|
286e851a51
|
||
|
|
90cca59373
|
||
|
|
e3d1e0d23d
|
||
|
|
1333e31eb0
|
||
|
|
798bc8a234
|
||
|
|
9365172b71
|
||
|
|
3b4a5d256c
|
||
|
|
fee2efe304
|
||
|
|
3bd4467aa8
|
||
|
|
fa295ee1f3
|
||
|
|
90f0fa86ac
|
||
|
|
eefce4faba
|
||
|
|
a26d72a39c
|
||
|
|
2e4ee273c1
|
||
|
|
8107cadfbe
|
||
|
|
239408f261
|
||
|
|
0240e62b84
|
||
|
|
fb114a4a28
|
||
|
|
41b4de7d55
|
||
|
|
9a76aa7d01
|
||
|
|
6dbc6542c5
|
||
|
|
678c06fb04
|
||
|
|
a15096eb64
|
||
|
|
db2c11079c
|
||
|
|
551eca3985
|
||
|
|
be79401fe4
|
||
|
|
5f05dff18d
|
||
|
|
6bbb914f47
|
||
|
|
c1592c4e47
|
||
|
|
1db97c3904
|
||
|
|
18228372a6
|
||
|
|
2f9f7b415f
|
||
|
|
08088ca7fb
|
||
|
|
67d309d52d
|
||
|
|
eac5365c3e
|
||
|
|
0ddd216a55
|
||
|
|
237d2c4c53
|
||
|
|
2b0abbca20
|
||
|
|
9541756129
|
||
|
|
b7d50f58d3
|
||
|
|
37a99e477b
|
||
|
|
7475b269a9
|
||
|
|
2563df8191
|
||
|
|
df3adfe980
|
||
|
|
6acdd37103
|
||
|
|
3729e80c51
|
||
|
|
b4be6851c5
|
||
|
|
da2c0b3f34
|
||
|
|
67c8ccdf65
|
||
|
|
8084bc5005
|
||
|
|
283db3705d
|
||
|
|
803ab3e192
|
||
|
|
cdce60389f
|
||
|
|
49ef127f7a
|
||
|
|
160af1b5df
|
||
|
|
a3d03f79fb
|
||
|
|
fd178679cd
|
||
|
|
b6d80c4959
|
||
|
|
8bc118551e
|
||
|
|
9614d1f72e
|
||
|
|
65b918b19d
|
||
|
|
f288b4fc31
|
||
|
|
5b5d065352
|
||
|
|
e44c831aa8
|
||
|
|
ad4d27c69f
|
||
|
|
3ba1b1d7b8
|
||
|
|
8f4374a008
|
||
|
|
78b341f14d
|
||
|
|
ad42f44799
|
||
|
|
f9fb21fa9c
|
||
|
|
c663213844
|
||
|
|
c9e08c2fb6
|
||
|
|
c8a4902f9a
|
||
|
|
16dfdee924
|
||
|
|
11cd91ef98
|
||
|
|
d091506319
|
||
|
|
5aac46b884
|
||
|
|
cd22e7f9f2
|
||
|
|
08c3921430
|
||
|
|
20ef0424ed
|
||
|
|
4e20629bc4
|
||
|
|
57a610ecb1
|
||
|
|
cc1f4cdb9f
|
||
|
|
386e7a5df0
|
||
|
|
00d82dfbd1
|
||
|
|
b2f5644843
|
||
|
|
a2ce0e0c33
|
||
|
|
636bf58775
|
||
|
|
631a1c529b
|
||
|
|
0e077f016b
|
||
|
|
5cc9113f09
|
||
|
|
09cc90f92c
|
||
|
|
f7e4f7dc08
|
||
|
|
6ae74f8e67
|
||
|
|
cd4b664cd0
|
||
|
|
dd6e76b300
|
||
|
|
f1ee78831e
|
||
|
|
ab4f9416ca
|
||
|
|
e7628c4714
|
||
|
|
e457b91cd3
|
||
|
|
9844225989
|
||
|
|
9ebf4ce048
|
||
|
|
aea73e0f66
|
||
|
|
c921d3763d
|
||
|
|
5c012ce7a1
|
||
|
|
2e8afd7366
|
||
|
|
5297de19d9
|
||
|
|
bbb4de35b9
|
||
|
|
c319405894
|
||
|
|
7f3dc46012
|
||
|
|
9c5a7478cf
|
||
|
|
62389247d1
|
||
|
|
97ce815c08
|
||
|
|
2e18af7d7e
|
||
|
|
c1c615b9bc
|
||
|
|
347f243627
|
||
|
|
d5313c8058
|
||
|
|
47ebb98a11
|
||
|
|
4a7d6c55a8
|
||
|
|
3619256c6d
|
||
|
|
03c44f533f
|
||
|
|
5688143f31
|
||
|
|
11cea35d5c
|
||
|
|
5ca9c2945d
|
||
|
|
b7053e8018
|
||
|
|
cf8319d753
|
||
|
|
1227e37ab2
|
||
|
|
dbd7f07f64
|
||
|
|
14ad7eb8d4
|
||
|
|
2999c8a362
|
||
|
|
4ce1fbe647
|
||
|
|
f22366ff04
|
||
|
|
9ed456f1cb
|
||
|
|
9bb68e2d7d
|
||
|
|
d8bec7597e
|
||
|
|
540fed44d3
|
||
|
|
e2388561b3
|
||
|
|
5f0897d54a
|
||
|
|
7a2c804435
|
||
|
|
9cc2d38618
|
||
|
|
f36e91be5e
|
||
|
|
89a221d0ae
|
||
|
|
4c90177a2d
|
||
|
|
0e8134d4cd
|
||
|
|
06afcf5f36
|
||
|
|
88d0081f20
|
||
|
|
31efbc596c
|
||
|
|
ce07ec1570
|
||
|
|
41f64c2f5b
|
||
|
|
82902033d3
|
||
|
|
1c6ea12f5f
|
||
|
|
9d3b80440e
|
||
|
|
9c990b828c
|
||
|
|
cbc2703a7f
|
||
|
|
1ad1c6b197
|
||
|
|
c0a1ec4497
|
||
|
|
59aa43ef10
|
||
|
|
2a4831d5a0
|
||
|
|
3684896091
|
||
|
|
134c26b51d
|
||
|
|
db0a86abfb
|
||
|
|
09ccb5b561
|
||
|
|
a2eccb3de8
|
||
|
|
16b4603f7f
|
||
|
|
6ff5f014ff
|
||
|
|
4f69156d77
|
||
|
|
87519b9fa1
|
||
|
|
d4d51e8e0e
|
||
|
|
d0c932444a
|
||
|
|
a12a7099e8
|
||
|
|
d9c684ab67
|
||
|
|
433e832d17
|
||
|
|
c27a5a1fef
|
||
|
|
50568a7007
|
||
|
|
6c18b55e3c
|
||
|
|
6f0b0abde7
|
||
|
|
6c35c3993f
|
||
|
|
901770d39b
|
||
|
|
e62b87ffd2
|
||
|
|
142a91d3a0
|
||
|
|
c13a09be49
|
||
|
|
45c67aa8c2
|
||
|
|
a6574d5f10
|
||
|
|
9929bca5b7
|
||
|
|
1c077188d3
|
||
|
|
ca9c8caf39
|
||
|
|
dfdf279612
|
||
|
|
adc7c08a27
|
||
|
|
da5b3e4bd8
|
||
|
|
35a71fccaa
|
||
|
|
e91cd02e14
|
||
|
|
23169ef328
|
||
|
|
be69a27313
|
||
|
|
ecc6c2282b
|
||
|
|
7e24921a9b
|
||
|
|
dfca3603fb
|
||
|
|
08c5ab9df7
|
||
|
|
2a5e36629d
|
||
|
|
853eb4356d
|
||
|
|
a9c1a15d03
|
||
|
|
c3226d4ba6
|
||
|
|
f014f5db72
|
||
|
|
4fd52ce616
|
||
|
|
06aa37d101
|
||
|
|
b53b2afa1a
|
||
|
|
88e82ba276
|
||
|
|
34cdd8df55
|
||
|
|
d11b4aea01
|
||
|
|
bbe97ba76b
|
||
|
|
aabd059034
|
||
|
|
f69c08cbfb
|
||
|
|
6ed9ef525d
|
||
|
|
73498f874c
|
||
|
|
f7bd1296f9
|
||
|
|
7c939fc4a3
|
||
|
|
1569541f7d
|
||
|
|
40691ad496
|
||
|
|
633f6f1803
|
||
|
|
834323d5bf
|
||
|
|
76ecc994c4
|
||
|
|
1aaae5eeba
|
||
|
|
c6dc352cf7
|
||
|
|
1cb42eb846
|
||
|
|
3fa1173458
|
||
|
|
3ad52b020a
|
||
|
|
f79a55dac0
|
||
|
|
989f5010d0
|
||
|
|
a627aaa136
|
||
|
|
82355b2415
|
||
|
|
a7e6e419b8
|
||
|
|
f75e6f16a5
|
||
|
|
1eddb8a8c2
|
||
|
|
0bcaec2c09
|
||
|
|
2a0bfedd7d
|
||
|
|
730c956b1c
|
||
|
|
5808a05dd2
|
||
|
|
557a4b2e01
|
||
|
|
64ce07c852
|
||
|
|
babfb21267
|
||
|
|
84f4ae270c
|
||
|
|
ebe3302854
|
||
|
|
be24277db3
|
||
|
|
b63fde7277
|
||
|
|
c2844d0f9a
|
||
|
|
d255d61319
|
||
|
|
c3bde75b1a
|
||
|
|
276c1f98aa
|
||
|
|
b499a720c2
|
||
|
|
a0dd5c1de9
|
||
|
|
9dac4cb81c
|
||
|
|
437e427f38
|
||
|
|
7efbf9265b
|
||
|
|
ced8af2a98
|
||
|
|
7db4ff67ed
|
||
|
|
d9a1fbf3db
|
||
|
|
ce7a74ebac
|
||
|
|
04b780a3f6
|
||
|
|
654ca4b9d9
|
||
|
|
2e691c96c9
|
||
|
|
246c78ff2f
|
||
|
|
a355dc9668
|
||
|
|
46ec0b816e
|
||
|
|
4e56d4b5ca
|
||
|
|
e596063cc4
|
||
|
|
72b3eb24b7
|
||
|
|
c4afafb277
|
||
|
|
288daeb844
|
||
|
|
df06e26e12
|
||
|
|
11dc86e86e
|
||
|
|
96d480b303
|
||
|
|
25066a04da
|
||
|
|
6bb4535d75
|
||
|
|
4881c88dc3
|
||
|
|
714307e92c
|
||
|
|
085d28dbfd
|
||
|
|
23dff3d8a9
|
||
|
|
332b930e45
|
||
|
|
55257efde1
|
||
|
|
72ed8df442
|
||
|
|
751b9118da
|
||
|
|
27caa547d9
|
||
|
|
27f92daeeb
|
||
|
|
58b4e3438f
|
||
|
|
b239747463
|
||
|
|
bfc1e60091
|
||
|
|
4e00a867cc
|
||
|
|
cab391a854
|
||
|
|
c2b3c8d153
|
||
|
|
ff9da15dcb
|
||
|
|
2e82ffb416
|
||
|
|
2eb6676e46
|
||
|
|
8c8dd9db20
|
||
|
|
8015b0dc5d
|
||
|
|
5b97f07fcb
|
||
|
|
0512d85652
|
||
|
|
e08d980860
|
||
|
|
97ee90052d
|
||
|
|
3389686e98
|
||
|
|
56c111e160
|
||
|
|
8975bef28f
|
||
|
|
9135bd0db8
|
||
|
|
9f899dfaeb
|
||
|
|
18938e38b5
|
||
|
|
7c5b31b47a
|
||
|
|
203ad37c30
|
||
|
|
c5caedc467
|
||
|
|
128f1ca2f1
|
||
|
|
978a854b7d
|
||
|
|
c1bce97806
|
||
|
|
b11071f4d3
|
||
|
|
ee1b1f25d0
|
||
|
|
bb2913ea20
|
||
|
|
0acf1e60df
|
||
|
|
e8600ae93a
|
||
|
|
bdff50acb4
|
||
|
|
41a95456ac
|
||
|
|
f708ea39f3
|
||
|
|
b27ed8fb15
|
||
|
|
dcf073270a
|
||
|
|
e7b0ae2053
|
||
|
|
cd8ba87d15
|
||
|
|
1e5ccc587d
|
||
|
|
9a5ff09b96
|
||
|
|
8ff26ff1ee
|
||
|
|
9a5849f140
|
||
|
|
722def4886
|
||
|
|
390299dcf6
|
||
|
|
18cc652f8a
|
||
|
|
3ae67666e6
|
||
|
|
489a7d4bbf
|
||
|
|
24d784f4df
|
||
|
|
c8967695de
|
||
|
|
8ab60555c5
|
||
|
|
5136d1eb1b
|
||
|
|
231013f093
|
||
|
|
17b2d0c3e2
|
||
|
|
6433f5040a
|
||
|
|
de460e25e7
|
||
|
|
d7c5a874ef
|
||
|
|
d55d81b7be
|
||
|
|
66e3a06bd6
|
||
|
|
73ff476d8a
|
||
|
|
c184d26092
|
||
|
|
421fea1b2b
|
||
|
|
ac3afafde1
|
||
|
|
0c9e46d745
|
||
|
|
bd84887115
|
||
|
|
7bd31da2f5
|
||
|
|
db414dc169
|
||
|
|
f3dd6f5751
|
||
|
|
da09978e1b
|
||
|
|
5bae2b3614
|
||
|
|
8cbb441b9a
|
||
|
|
139b9e8351
|
||
|
|
b3f18044c8
|
||
|
|
a01b98c440
|
||
|
|
f7712f598d
|
||
|
|
d80a251bd9
|
||
|
|
6f7ce1b694
|
||
|
|
0c88dd25d3
|
||
|
|
815bf37c3f
|
||
|
|
52669d10c1
|
||
|
|
d43c964779
|
||
|
|
9d34001d37
|
||
|
|
a0ff8067b9
|
||
|
|
3741e15a71
|
||
|
|
10ca64dddb
|
||
|
|
86f54fdaa2
|
||
|
|
7783465395
|
||
|
|
ea8dfa01aa
|
||
|
|
e7df4a9bd2
|
||
|
|
3cc400b7f9
|
||
|
|
72bb3f9af6
|
||
|
|
a470fadc32
|
||
|
|
0259a24ac3
|
||
|
|
cec1bfc92d
|
||
|
|
872d77768b
|
||
|
|
a750097772
|
||
|
|
d5af4e6083
|
||
|
|
6b140f649a
|
||
|
|
61aa363b50
|
||
|
|
315dfdd63f
|
||
|
|
237b1faa33
|
||
|
|
353b129ccd
|
||
|
|
0129558f24
|
||
|
|
5fb43d0af8
|
||
|
|
a7fce44542
|
||
|
|
3046f4a35b
|
||
|
|
51ace68000
|
||
|
|
1cf1a56611
|
||
|
|
e69f6b2e59
|
||
|
|
64b5883e73
|
||
|
|
1ff50e4003
|
||
|
|
4fdb0906d9
|
||
|
|
8633170da8
|
||
|
|
db1879b678
|
||
|
|
8c46ed4b15
|
||
|
|
a74debdbdd
|
||
|
|
61a568c3db
|
||
|
|
8589e01121
|
||
|
|
33c0d4e326
|
||
|
|
4579037bd7
|
||
|
|
d8d5bb0962
|
||
|
|
3344c21da2
|
||
|
|
9d5db235c4
|
||
|
|
5d48aa73ce
|
||
|
|
f21ef73f5d
|
||
|
|
4dec5caa14
|
||
|
|
7a2fbae9bb
|
||
|
|
b3f4351ff6
|
||
|
|
7183f36033
|
||
|
|
368f83cc0e
|
||
|
|
b48b8f6d78
|
||
|
|
9d9db470f9
|
||
|
|
6b165347fb
|
||
|
|
4f2530e8a2
|
||
|
|
936c27e404
|
||
|
|
34b3992fb5
|
||
|
|
bd33e24ae2
|
||
|
|
7c400de244
|
||
|
|
30a0af3395
|
||
|
|
fea17e6e1b
|
||
|
|
6a542999f2
|
||
|
|
4cebdf7d5d
|
||
|
|
b3339db7a5
|
||
|
|
bb7f0c7823
|
||
|
|
0c884b6533
|
||
|
|
e508b75b95
|
||
|
|
daf1db8689
|
||
|
|
4003bc9cdb
|
||
|
|
75d598a1d9
|
||
|
|
248a87a949
|
||
|
|
8a61e3da99
|
||
|
|
7cefb87d98
|
||
|
|
217cadf043
|
||
|
|
e9a5deb2be
|
||
|
|
3622aef2a9
|
||
|
|
d0c83530ff
|
||
|
|
6dff3f5265
|
||
|
|
26c7c16fd8
|
||
|
|
b9574734d3
|
||
|
|
5f53937a69
|
||
|
|
aded5730af
|
||
|
|
1114ee0d7c
|
||
|
|
124349c345
|
||
|
|
a80363df46
|
||
|
|
0c8ac02d17
|
||
|
|
c33bb3d7e4
|
||
|
|
77f6197c07
|
||
|
|
3b02b7d706
|
||
|
|
1362134890
|
||
|
|
28ac14ea1c
|
||
|
|
535d7d17ba
|
||
|
|
9fe117db1a
|
||
|
|
7191db6822
|
||
|
|
da9c322080
|
||
|
|
437218921f
|
||
|
|
9078990b67
|
||
|
|
c124674a0e
|
||
|
|
6359ac1797
|
||
|
|
029314a953
|
||
|
|
160acf069c
|
||
|
|
ee856cb4fe
|
||
|
|
398ddfdd13
|
||
|
|
bac886843e
|
||
|
|
d0045980df
|
||
|
|
2ff5a62763
|
||
|
|
4f03237857
|
||
|
|
5cf7d1ff55
|
||
|
|
2e9c051c53
|
||
|
|
17d552d4bb
|
||
|
|
1a2f4994a0
|
||
|
|
63d855c907
|
||
|
|
9be53413ec
|
||
|
|
b2f589be8f
|
||
|
|
5ee916ce42
|
||
|
|
4156a6d649
|
||
|
|
83ff82b45f
|
||
|
|
9b7e806182
|
||
|
|
31ec73031e
|
||
|
|
684ba846b9
|
||
|
|
2b94af22ad
|
||
|
|
3a91be1a84
|
||
|
|
048dc4dcc8
|
||
|
|
da4b0871d4
|
||
|
|
2096d64149
|
||
|
|
fae199c90c
|
||
|
|
2fa32be80f
|
||
|
|
50208929d1
|
||
|
|
fb8803fe59
|
||
|
|
06801dac06
|
||
|
|
5055a6bbf6
|
||
|
|
27778eb8b9
|
||
|
|
07e256be31
|
||
|
|
e4d22cd32e
|
||
|
|
97490ec109
|
||
|
|
1028f0736b
|
||
|
|
b5271b6067
|
||
|
|
5e95cfcb6a
|
||
|
|
f12b2a26d8
|
||
|
|
7adb4c25d9
|
||
|
|
7fd05244b1
|
||
|
|
6a3bffaa70
|
||
|
|
b51629e929
|
||
|
|
1b390c525d
|
||
|
|
710309e9be
|
||
|
|
8f232e9c75
|
||
|
|
dd56f8be8f
|
||
|
|
2b1f430e27
|
||
|
|
121ec47ca6
|
||
|
|
0ab08bc9c4
|
||
|
|
786cb5ed8c
|
||
|
|
3e6252a5c2
|
||
|
|
c67d2e7bf7
|
||
|
|
01ae2b5920
|
||
|
|
70fc1df7da
|
||
|
|
d1a1e0a9d8
|
||
|
|
df529ceacb
|
||
|
|
fa02bdbdf9
|
||
|
|
ac81d34f7f
|
||
|
|
d747cdc1e0
|
||
|
|
b41270d077
|
||
|
|
131cd66edc
|
||
|
|
f43ffd213c
|
||
|
|
3ef364ad86
|
||
|
|
1727693433
|
||
|
|
ed1d3d2a1e
|
||
|
|
74552ab05e
|
||
|
|
4968c8b777
|
||
|
|
18d3fb0e27
|
||
|
|
00ca818a7b
|
||
|
|
ea6af167dc
|
||
|
|
cbdd3fad95
|
||
|
|
d98c1eea05
|
||
|
|
6dfe66e548
|
||
|
|
2f9602c7f2
|
||
|
|
9cb87e43ae
|
||
|
|
bd4468669f
|
||
|
|
07ea8737ea
|
||
|
|
3de2beab2b
|
||
|
|
31ee97287d
|
||
|
|
dc8ee14cbe
|
||
|
|
63fe791aa5
|
||
|
|
fa4a636434
|
||
|
|
a109d8740a
|
||
|
|
3afd376b50
|
||
|
|
ec085314c8
|
||
|
|
c1ce27d157
|
||
|
|
5103a455a3
|
||
|
|
40c5532a6b
|
||
|
|
309c1fc2d1
|
||
|
|
e810305001
|
||
|
|
6ae5439d94
|
||
|
|
6cfaecfd23
|
||
|
|
a2c67c4aac
|
||
|
|
3d627b8b2c
|
||
|
|
b71d2fcf2f
|
||
|
|
eed3728410
|
||
|
|
2792d80fc8
|
||
|
|
3165c0d59d
|
||
|
|
9a37047f4c
|
||
|
|
b05220a7a2
|
||
|
|
2a9517ec92
|
||
|
|
f3e88e224f
|
||
|
|
24ca77fa0e
|
||
|
|
fc2a612198
|
||
|
|
5661803ce5
|
||
|
|
29941da0eb
|
||
|
|
1d1d9121fe
|
||
|
|
c7adffbde9
|
||
|
|
c768e4a0ac
|
||
|
|
059c31dcee
|
||
|
|
e5fa12160e
|
||
|
|
35689c4e20
|
||
|
|
564a577031
|
||
|
|
a704487289
|
||
|
|
8f80d84fd9
|
||
|
|
4548323e01
|
||
|
|
83076bcc13
|
||
|
|
5f4bd52770
|
||
|
|
fd853d65c4
|
||
|
|
7e99b4688a
|
||
|
|
d880df91a8
|
||
|
|
1a4a7a1048
|
||
|
|
5ce1af1b4f
|
||
|
|
508fe522c6
|
||
|
|
9238cf77da
|
||
|
|
306881fe69
|
||
|
|
527809a04f
|
||
|
|
cad5753327
|
||
|
|
941b6f67f2
|
||
|
|
2819d1ee1c
|
||
|
|
8937bf086e
|
||
|
|
70d578afaa
|
||
|
|
e8843b4bed
|
||
|
|
a2f0dccfb1
|
||
|
|
5e84ad89c3
|
||
|
|
288b18c827
|
||
|
|
5f80d8769f
|
||
|
|
956038d78f
|
||
|
|
8af055008d
|
||
|
|
a5dee6e191
|
||
|
|
a0e30c8322
|
||
|
|
dd5d73de59
|
||
|
|
22c875cd84
|
||
|
|
60cc9d4325
|
||
|
|
573d3190c3
|
||
|
|
7da08b6fe9
|
||
|
|
fffcb1ffee
|
||
|
|
cf9f0078a4
|
||
|
|
a0c469c641
|
||
|
|
9f604b30f8
|
||
|
|
de5518c0f2
|
||
|
|
5a6187b586
|
@@ -365,7 +365,7 @@ clean:
|
||||
.PHONY: install-build-deps
|
||||
install-build-deps:
|
||||
@echo "Installing build dependencies if they have not already been installed..."
|
||||
@cargo install mdbook --version "0.4.49" --locked
|
||||
@cargo install mdbook --vers "^0.4" --locked
|
||||
@cargo install xq --vers "^0.4" --locked
|
||||
@cargo install mdbook-alerts --vers "^0.7" --locked
|
||||
@cargo install mdbook-pdf --vers "^0.1" --locked
|
||||
@@ -375,7 +375,7 @@ ifeq ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
|
||||
&& . $(SG_LINUX_PYTHON_VENV_BIN_DIR)/activate \
|
||||
&& pip install mdbook-pdf-outline 2>/dev/null
|
||||
endif # ($(SG_BUILD_PLATFORM),$(SG_BUILD_PLATFORM_LINUX))
|
||||
@cargo install --git https://github.com/Michael-F-Bryan/mdbook-epub --rev cac03b7f4b151f106f7f05b13da4c33fc098dd2c --locked
|
||||
@cargo install --git https://github.com/Michael-F-Bryan/mdbook-epub --rev d1536bbbdc1ca00320522ad73a967e15057ef573 --locked
|
||||
|
||||
################################################################################
|
||||
# Make Targets - mdBook
|
||||
|
||||
+5
-13
@@ -15,16 +15,10 @@ Welcom to the SenseGlove Unreal Engine Handbook!
|
||||
- [Via Microsoft Azure DevOps Repositories](getting-started/installation/microsoft-azure-devops-repositories.md)
|
||||
- [Enabling and Verifying the Plugin Version](getting-started/plugin-verify-version-enable/README.md)
|
||||
- [SenseCom](getting-started/sensecom/README.md)
|
||||
- [Bluetooth Low Energy](getting-started/sensecom/bluetooth-low-energy/README.md)
|
||||
- [SenseCom on Android](getting-started/sensecom/bluetooth-low-energy/android.md)
|
||||
- [SenseCom on GNU/Linux](getting-started/sensecom/bluetooth-low-energy/gnu-linux.md)
|
||||
- [SenseCom on Microsoft Windows](getting-started/sensecom/bluetooth-low-energy/microsoft-windows.md)
|
||||
- [Bluetooth Serial](getting-started/sensecom/bluetooth-serial/README.md)
|
||||
- [SenseCom on Android](getting-started/sensecom/bluetooth-serial/android.md)
|
||||
- [SenseCom on GNU/Linux](getting-started/sensecom/bluetooth-serial/gnu-linux/README.md)
|
||||
- [Connect to Nova gloves using Blueman Bluetooth Manager](getting-started/sensecom/bluetooth-serial/gnu-linux/blueman-bluetooth-manager.md)
|
||||
- [Connect to Nova gloves using Command-line](getting-started/sensecom/bluetooth-serial/gnu-linux/command-line.md)
|
||||
- [SenseCom on Microsoft Windows](getting-started/sensecom/bluetooth-serial/microsoft-windows.md)
|
||||
- [SenseCom on GNU/Linux](getting-started/sensecom/gnu-linux/README.md)
|
||||
- [Connect to Nova gloves using Blueman Bluetooth Manager](getting-started/sensecom/gnu-linux/blueman-bluetooth-manager.md)
|
||||
- [Connect to Nova gloves using Command-line](getting-started/sensecom/gnu-linux/command-line.md)
|
||||
- [SenseCom on Microsoft Windows](getting-started/sensecom/microsoft-windows.md)
|
||||
- [Enabling XR_EXT_hand_tracking on VR Headsets](getting-started/enabling-xr-ext-hand-tracking-vr-headsets/README.md)
|
||||
- [PCVR Mode](getting-started/enabling-xr-ext-hand-tracking-vr-headsets/pcvr-mode/README.md)
|
||||
- [Standalone Mode](getting-started/enabling-xr-ext-hand-tracking-vr-headsets/standalone-mode/README.md)
|
||||
@@ -68,7 +62,6 @@ Welcom to the SenseGlove Unreal Engine Handbook!
|
||||
- [Third-Party Tutorials](misc/android-standalone-deployment/third-party-tutorials/README.md)
|
||||
- [Upgrade Guide](misc/upgrade-guide/README.md)
|
||||
- [Optimizing for Higher FPS](misc/optimize-higher-fps/README.md)
|
||||
- [Third-Party Tutorials](misc/optimize-higher-fps/third-party-tutorials/README.md)
|
||||
|
||||
# 🛠️ Advanced Topics
|
||||
|
||||
@@ -101,8 +94,7 @@ Welcom to the SenseGlove Unreal Engine Handbook!
|
||||
- [SenseGlove Unreal Engine Handbook License](license/senseglove-unreal-engine-handbook.md)
|
||||
- [Third-Party Licenses](license/third-party.md)
|
||||
- [SenseGlove SDK License](license/senseglove-sdk.md)
|
||||
- [SGBLE and SGBLExx Rust Dependencies Licenses](license/sgble-sgblexx-rust-dependencies.md)
|
||||
- [Boost C++ Libraries License](license/boost-cpp-libraries.md)
|
||||
- [Boost C++ Libraries](license/boost-cpp-libraries.md)
|
||||
- [Serial Communication Library License](license/serial-communication-library.md)
|
||||
|
||||
-----------
|
||||
|
||||
+179
-288
@@ -5,115 +5,6 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [2.6.2] - 2025-06-10
|
||||
|
||||
This patch release contains no changes to the plugin code. It includes only documentation updates and improvements.
|
||||
|
||||
### Documentation
|
||||
|
||||
- Added [a third-party tutorial to the Optimizing Your Project for Higher FPS](../misc/optimize-higher-fps/third-party-tutorials/) section.
|
||||
|
||||
## [2.6.1] - 2025-06-05
|
||||
|
||||
This patch release addresses several critical build and linking issues.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a linking issue on GNU/Linux with UE `5.6` where SenseGlove libraries were built against dynamic versions of `libc++` and `libc++abi` libraries rather than the static versions.
|
||||
- Fix an issue where SenseGlove libraries for some targets were not actually built with `C++20` and still were built against `C++17`.
|
||||
- Fix an issue where SenseGlove libraries for some targets were built or linked with incorrect settings.
|
||||
- Additional minor fixes and improvements that may not be listed here.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bumped the SenseGlove libraries to `v2.204.0-3a37b1977`.
|
||||
|
||||
### Removed
|
||||
|
||||
- SenseGlove plugin no longer ships Boost or wjwwood's Serial Communication Library header files as SenseGlove public headers shipped with `v2.204.0-3a37b1977` render them redundant. This significantly removes clutter, free up disk space, and speed up builds to some extent.
|
||||
|
||||
### Documentation
|
||||
|
||||
- Fix some changelog typos.
|
||||
- Additional minor fixes and improvements that may not be listed here.
|
||||
|
||||
## [2.6.0] - 2025-06-04
|
||||
|
||||
This minor release delivers broad compatibility, stability, and maintainability enhancements, focusing on bringing full Unreal Engine `5.6` support, C++20 migration, and resolving various GNU/Linux build issues.
|
||||
|
||||
### Added
|
||||
|
||||
- Added support for Epic Native Toolchain `v25`, which will be shipped with the upcoming UE `5.6`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Resolved GNU/Linux build issues for Unreal Engine `5.5` and `5.6` caused by incorrect linkage to GNU/GCC's `libstdc++` instead of LLVM/Clang's `libc++`.
|
||||
- Fix `SGLog` build issues on GNU/Linux with UE `5.6`.
|
||||
- Fix type conversion safety and consistency issues across all `SGLog` formatters.
|
||||
- Resolved a critical deadlock between the rendering and game threads in Unreal Engine `5.6` that occurrs when `IHeadMountedDisplay::GetHMDMonitorInfo()` is invoked from `FSGXRTracker::GetControllerTransform()`. This is similar to another [critical deadlock issue (UE-212224), occurring during PipelinedFrameState acquisition, addressed in the `v2.5.0` release](#250---2025-05-09).
|
||||
- Additional minor fixes and improvements that may not be listed here.
|
||||
|
||||
### Changed
|
||||
|
||||
- Replaced Epic Native Toolchain `v24` support with Epic Native Toolchain `v25` due to the fact that now `v25` is the default Linux toolchain for UE `5.6`.
|
||||
- Revamped `FSGHMDTracker` to resolve a critical deadlock between the rendering and game threads in Unreal Engine `5.6` that occurrs when `IHeadMountedDisplay::GetHMDMonitorInfo()` is invoked from `FSGXRTracker::GetControllerTransform()`. This is similar to another [critical deadlock issue (UE-212224), occurring during PipelinedFrameState acquisition, addressed in the `v2.5.0` release](#250---2025-05-09).
|
||||
- Revamped the UBT logic for importing third-party headers and libraries by introducing third-party dependency modules, `SGBleThirdPartyLibs`, `SGConnectThirdPartyHeaders`, `SGConnectThirdPartyLibs`, `SGCoreThirdPartyLibs`, and `SGSerialThirdPartyLibs`, which significantly reduces UBT boilerplate code and increases maintainability.
|
||||
- Bumped the SenseGlove libraries to `v2.203.0-f3d3e676`.
|
||||
- SenseGlove libraries have migrated to `C++20` from `C++17`.
|
||||
- Revamped the `SGLog` logging utility class to use `TUniquePtr` instead of `std::unique_ptr`.
|
||||
- `SGLog` now relies on `TAtomic<bool>` for thread-safe initialization.
|
||||
- `SGBackend` now relies on `TAtomic<bool>` for thread-safe initialization.
|
||||
- `USGBackend::IsBackendInitialized()` is no longer inlined and the initialization flag has been moved to the private implementation of `USGBackend`.
|
||||
- Bumped the SenseGlove Unreal Engine Marketplace Packager `v0.6.0-4108c6f`.
|
||||
|
||||
### Removed
|
||||
|
||||
- Dropped support for Epic Native Toolchain `v24`, which was last shipped with the preview release of UE `5.6`, but has been removed from the `5.6` branch on GitHub.
|
||||
|
||||
### Deprecated
|
||||
|
||||
- This is the last minor release to support Unreal Engine `5.3` and its support will be removed from the next minor or major releases.
|
||||
|
||||
### Documentation
|
||||
|
||||
- Revised the outdated [Plugin Directory Structure](./directory-structure.html) section to accurately reflect the latest changes to the `Source/ThirdParty` directory layout changes.
|
||||
- Lock the [mdbook](https://github.com/rust-lang/mdBook) crate version to `v0.49.0` to avoid layout issues introduced with `v0.50.0`.
|
||||
- Additional minor fixes and improvements that may not be listed here.
|
||||
|
||||
## [2.5.0] - 2025-05-09
|
||||
|
||||
This minor release primarily focuses on bringing Bluetooth Low Energy support to the SenseGlove Unreal Engine integration.
|
||||
|
||||
### Added
|
||||
|
||||
- Added support for Epic Native Toolchain `v24`, which will be shipped with the upcoming UE `5.6`.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Backend initialization error handling on Android.
|
||||
- Fix [a critical issue introduced by UE `5.5`](https://github.com/EpicGames/UnrealEngine/blob/ef1397773d160d39423feb90cb2196ddfaa1e2ae/Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Private/OpenXRHMD.cpp#L1740) that [also affects the upcoming UE `5.6`](https://github.com/EpicGames/UnrealEngine/blob/bedc5631b81cd39aaac8d61f303eacc86d4220f0/Engine/Plugins/Runtime/OpenXR/Source/OpenXRHMD/Private/OpenXRHMD.cpp#L1772). This is known as issue `UE-212224`, which leads to a deadlock during `PipelinedFrameState` acquisition between the game and rendering threads.
|
||||
- Additional minor fixes and improvements that may not be listed here.
|
||||
|
||||
### Changed
|
||||
|
||||
- The error codes returned from `FSGConnectJNI::Initialize()` and `FSGCoreJNI::Initialize()` have been changed. This is a breaking change for any code that relies on handling the return codes from those functions.
|
||||
- Bumped the SenseGlove libraries to the `v2.200.0-0cb715d0` release with BLE (Bluetooth Low Energy) support.
|
||||
|
||||
### Removed
|
||||
|
||||
- Dropped support for Unreal Engine `5.2` and Epic Native Toolchain `v21` (previously used for building UE `5.2` Linux dependencies), as they were already deprecated in the `v2.4.x` release series.
|
||||
|
||||
### Documentation
|
||||
|
||||
- Revamped [SenseCom documentation](../getting-started/sensecom) in order to divide the SenseCom instructions section into [Bluetooth Low Energy instructions for SenseCom](../getting-started/sensecom/bluetooth-low-energy) and [Bluetooth Serial instructions for SenseCom](../getting-started/sensecom/bluetooth-serial) sections.
|
||||
- Added [Bluetooth Low Energy instructions for SenseCom](../getting-started/sensecom/bluetooth-low-energy).
|
||||
- Added [Bluetooth Serial instructions for Android](../getting-started/sensecom/bluetooth-serial/android.html).
|
||||
- Added [SGBLE and SGBLExx Rust Dependency Licenses](../license/sgble-sgblexx-rust-dependencies.html).
|
||||
- Bumped the [mdbook-epub](https://github.com/Michael-F-Bryan/mdbook-epub) crate to [`cac03b7f4b151f106f7f05b13da4c33fc098dd2c`](https://github.com/Michael-F-Bryan/mdbook-epub/commit/cac03b7f4b151f106f7f05b13da4c33fc098dd2c).
|
||||
- List the third-party tutorials inside the [Extra Resources](../appendix/extra-resources.html#third-party-tutorials) section in a categorized manner.
|
||||
- Improved changelog formatting.
|
||||
- Additional minor fixes and improvements that may not be listed here.
|
||||
|
||||
## [2.4.2] - 2025-02-17
|
||||
|
||||
This is a patch release to address minor issues in the SenseGlove Unreal Engine Handbook, with no modifications to the plugin code.
|
||||
@@ -175,7 +66,7 @@ This minor release brings various improvements and, notably, the first version t
|
||||
- Revamped the [Enabling XR_EXT_hand_tracking OpenXR Extension on VR Headsets](../getting-started/enabling-xr-ext-hand-tracking-vr-headsets/) and [Deploying to Android (Standalone)](../misc/android-standalone-deployment/) documentation, and added the `ViveOpenXR`-compatibile instructions as well.
|
||||
- Significantly improved the [Setting Up the Wrist Tracking Hardware](../getting-started/setup-wrist-tracking-hardware/) section by providing more detailed documentation and example configuration per HMD and wrist tracking hardware.
|
||||
- Clarified [how to set up the VIVE Wrist Trackers in various configurations](../plugin-configuration/plugin-settings/tracking/wrist-tracking/).
|
||||
- Added [HTC VIVE specific optimization tips for running in standalone mode](../misc/optimize-higher-fps/#htc-vive-specific-optimizations-in-standalone-mode).
|
||||
- Added [HTC VIVE specific optimization tips for running in standalone mode](../misc/optimize-higher-fps/#htc-vive-specific-optimizations-in-standalone-mode)
|
||||
- Fixed a few broken URLs caused by bad markdown formatting.
|
||||
- Applied various Handbook Makefile fixes.
|
||||
- Clarified the HTC VIVE standalone support status in the platform support matrix.
|
||||
@@ -331,7 +222,7 @@ This is a bugfix release with no actual plugin code changes, mostly addressing i
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed Android NDK `r25` `armv7` and `x86` dependencies brought back by mistake while merging `v2.1.0` from the dev branch to the master branch.
|
||||
- Removed Android NDK r25 armv7 and x86 dependencies brought back by mistake while merging v2.1.0 from the dev branch to the master branch.
|
||||
|
||||
## [2.1.0] - 2024-08-16
|
||||
|
||||
@@ -340,92 +231,92 @@ This is a minor release focusing mainly on bringing OpenXR-compatible hand track
|
||||
### Added
|
||||
|
||||
- Added SenseGloveTracking and module which provides OpenXR-compatible hand tracking by implementing `XR_EXT_hand_tracking` support, HMD auto-detection, and SenseGlove device tracking.
|
||||
- Added `USenseGloveTrackingKismet` module in order to expose part of the SenseGloveTracking functionality to Blueprint.
|
||||
- Added `FSGXRTracker`, the underlying main class that implements the OpenXR compatibility.
|
||||
- Added `USGXRTrackerKismetLibrary` in order to allow Blueprint to retrieve the `FXRMotionControllerData` directly from our tracking module.
|
||||
- Added the `SGTrackingTypes` header to the `SenseGloveTypes` module in order to define and share `SenseGloveTracking` module types through this header across the plugin modules.
|
||||
- Added USenseGloveTrackingKismet module in order to expose part of the SenseGloveTracking functionality to Blueprint.
|
||||
- Added FSGXRTracker, the underlying main class that implements the OpenXR compatibility.
|
||||
- Added USGXRTrackerKismetLibrary in order to allow Blueprint to retrieve the FXRMotionControllerData directly from our tracking module.
|
||||
- Added the SGTrackingTypes header to the SenseGloveTypes module in order to define and share SenseGloveTracking module types through this header across the plugin modules.
|
||||
- A fallback to HMD and wrist tracker hardware auto-detection mechanism has been added to be triggered in situations when automatic detection of the wrist tracker hardware is desired, e.g., either by not setting it explicitly, or setting it to the default None value. Please note that this is still highly experimental and HTC VIVE Focus 3 and HTC XR Elite cannot be distinguished in the current iteration. Though, since the tracker devices and offsets for both headsets are the same in the end it does not make a difference if both headsets are detected as each other.
|
||||
- Added `ESGHeadMountedDisplayDevice` enum with supported HMDs list.
|
||||
- Added `ESGViveHMDDetectionPriority` enum in order to choose which headset we attempt to detect between VIVE Focus 3 and VIVE XR Elite as we cannot distinguish them, yet.
|
||||
- Added the `FSGHMDTracker` utility class, in order to easily gather information about the HMD device at runtime.
|
||||
- Added `USGHMDTrackerKismetLibrary` which exposes the equivalent C++ HMD auto-detection functionality to Blueprint.
|
||||
- Added `FSGHMDTrackingSettings` config struct.
|
||||
- Added the `FSGGloveTracer` utility class, in order to easily check the left or right glove connectivity or retrieve the connected glove instances.
|
||||
- Added `USGGloveTrackerKismetLibrary` which exposes the equivalent C++ functionality to Blueprint.
|
||||
- Added `FSGGloveTrackingSettings` config struct.
|
||||
- Added `FSGTrackingSettings` config struct.
|
||||
- Added `FSGHandTrackingSettings` config struct.
|
||||
- Added `FSGWristTrackingDebuggingSettings` config struct.
|
||||
- Added `FSGVirtualHandSettings` config struct.
|
||||
- Added `FSGVirtualHandAnimationSettings` config struct.
|
||||
- Added `FSGVirtualHandDebuggingSettings` config struct.
|
||||
- Added `FSGVirtualHandGrabSettings` config struct.
|
||||
- Added `FSGVirtualHandHapticsSettings` config struct.
|
||||
- Added `FSGVirtualHandMeshSettings` config struct.
|
||||
- Added `FSGVirtualHandPhalangesLengthSettings` config struct.
|
||||
- Added `FSGVirtualHandTouchSettings` config struct.
|
||||
- Added `USGVirtualHandComponent::OnHandVisibilityChanged()` event in order to notify other components/actors whenever the virtual hand mesh appears or disappears (for example, this could happen when a glove is connected/disconnected).
|
||||
- `GetMotionControllerData()` has been introduced to the `USGVitualHandComponent` in order to retrieve the OpenXR-compatible glove data in Unreal's `FXRMotionControllerData` format.
|
||||
- Added `FSGVirtualHandAnimInstanceProxy::GetMotionControllerData()` and many more accessor methods usable only by child classes to allow consumption of the data required for manipulating the virtual hand mesh animations.
|
||||
- `GetMotionControllerData()` has been introduced to the `USGWristTrackerComponent` in order to retrieve the OpenXR-compatible glove data in Unreal's `FXRMotionControllerData` format.
|
||||
- Added `USGGrabComponent::SimulatePhysics()` method.
|
||||
- Added `FSGDebugCube`.
|
||||
- Added `FSGDebugCubeSettings`.
|
||||
- Added the `SenseGloveDebugKismet` module in order to allow drawing of debugging, cubes, gizmos, and virtual hands from Blueprint.
|
||||
- Added `USGDebugCubeKismetLibrary` in order to expose the `FSGDebugCube` functionalities to Blueprint.
|
||||
- Added `USGDebugGizmoKismetLibrary` in order to expose the `FSGDebugGizmo` functionalities to Blueprint.
|
||||
- Added`USGDebugVirtualHandKismetLibrary` in order to expose the `FSGDebugVirtualHand` functionalities to Blueprint.
|
||||
- Added a new static `Draw()` method overload to `DebugGizmo` which allows passing an `FQuat` instead of a `FRotator`.
|
||||
- Introduced a new `FXRMotionControllerData` compatible hand animation system with the ability to take the mesh bone's transforms into account for a more reliable hand animation.
|
||||
- Introduced a new `FXRMotionControllerData` compatible wrist tracking system.
|
||||
- Introduced a new `FXRMotionControllerData` compatible hand interaction manipulation system.
|
||||
- Added ESGHeadMountedDisplayDevice enum with supported HMDs list.
|
||||
- Added ESGViveHMDDetectionPriority enum in order to choose which headset we attempt to detect between VIVE Focus 3 and VIVE XR Elite as we cannot distinguish them, yet.
|
||||
- Added the FSGHMDTracker utility class, in order to easily gather information about the HMD device at runtime.
|
||||
- Added USGHMDTrackerKismetLibrary which exposes the equivalent C++ HMD auto-detection functionality to Blueprint.
|
||||
- Added FSGHMDTrackingSettings config struct.
|
||||
- Added the FSGGloveTracer utility class, in order to easily check the left or right glove connectivity or retrieve the connected glove instances.
|
||||
- Added USGGloveTrackerKismetLibrary which exposes the equivalent C++ functionality to Blueprint.
|
||||
- Added FSGGloveTrackingSettings config struct.
|
||||
- Added FSGTrackingSettings config struct.
|
||||
- Added FSGHandTrackingSettings config struct.
|
||||
- Added FSGWristTrackingDebuggingSettings config struct.
|
||||
- Added FSGVirtualHandSettings config struct.
|
||||
- Added FSGVirtualHandAnimationSettings config struct.
|
||||
- Added FSGVirtualHandDebuggingSettings config struct.
|
||||
- Added FSGVirtualHandGrabSettings config struct.
|
||||
- Added FSGVirtualHandHapticsSettings config struct.
|
||||
- Added FSGVirtualHandMeshSettings config struct.
|
||||
- Added FSGVirtualHandPhalangesLengthSettings config struct.
|
||||
- Added FSGVirtualHandTouchSettings config struct.
|
||||
- Added USGVirtualHandComponent::OnHandVisibilityChanged() event in order to notify other components/actors whenever the virtual hand mesh appears or disappears (for example, this could happen when a glove is connected/disconnected).
|
||||
- GetMotionControllerData() has been introduced to the USGVitualHandComponent in order to retrieve the OpenXR-compatible glove data in Unreal's FXRMotionControllerData format.
|
||||
- Added FSGVirtualHandAnimInstanceProxy::GetMotionControllerData and many more accessor methods usable only by child classes to allow consumption of the data required for manipulating the virtual hand mesh animations.
|
||||
- GetMotionControllerData() has been introduced to the USGWristTrackerComponent in order to retrieve the OpenXR-compatible glove data in Unreal's FXRMotionControllerData format.
|
||||
- Added USGGrabComponent::SimulatePhysics() method.
|
||||
- Added FSGDebugCube.
|
||||
- Added FSGDebugCubeSettings.
|
||||
- Added the SenseGloveDebugKismet module in order to allow drawing of debugging, cubes, gizmos, and virtual hands from Blueprint.
|
||||
- Added USGDebugCubeKismetLibrary in order to expose the FSGDebugCube functionalities to Blueprint.
|
||||
- Added USGDebugGizmoKismetLibrary in order to expose the FSGDebugGizmo functionalities to Blueprint.
|
||||
- Added USGDebugVirtualHandKismetLibrary in order to expose the FSGDebugVirtualHand functionalities to Blueprint.
|
||||
- Added a new static Draw() method overload to DebugGizmo which allows passing an FQuat instead of a FRotator.
|
||||
- Introduced a new FXRMotionControllerData compatible hand animation system with the ability to take the mesh bone's transforms into account for a more reliable hand animation.
|
||||
- Introduced a new FXRMotionControllerData compatible wrist tracking system.
|
||||
- Introduced a new FXRMotionControllerData compatible hand interaction manipulation system.
|
||||
- Added the ability to fallback to hand tracking when a glove is not present and use the bare hands for interactions, or a combination of glove and hand tracking if no motion controller input is detected.
|
||||
- Added the SenseGlove grab/touch sockets one-click-setup ability on any Epic-compliant virtual hand mesh from within the Unreal Editor's Content Browser, Skeleton Editor, or Skeletal Mesh Editor by extending the Unreal Editor.
|
||||
- Added `FSGAssetUtils` editor-only class.
|
||||
- Added `FSGContentBrowserExtension` editor-only class.
|
||||
- Added `FSGPluginStyle` editor-only class.
|
||||
- Added `FSGSocketsEdito`r editor-only class.
|
||||
- Added `FSGSocketsEditorCommands` editor-only class.
|
||||
- Added the `FSGInitializationSettings` config struct in order to control how the plugin is initialized.
|
||||
- Introduced the `FSGGameUserSettings` for managing the Engine Scalability Settings through the SenseGlove plugin in order to change the graphics settings on the fly.
|
||||
- Added `USGGameUserSettingsKismetLibrary` in order to allow all the Engine Scalability Settings to be managed from the Blueprint side.
|
||||
- Added `FSGGameUserSettingsSettings` config struct.
|
||||
- Added the SenseGlove console commands: `SG_GetEngineScalabilitySettings()` and `SG_SetEngineScalabilitySettings(Scalability)`.
|
||||
- Added `SGHardwareBenchmarkingSettings` config struct.
|
||||
- Introduced `ESGEngineScalabilitySettings` enum.
|
||||
- Added `FSGVirtualHandSettingsOverrides` config struct used by the new settings override system.
|
||||
- Added `SGWristTrackingSettingsOverrides` config structured by the new settings override system.
|
||||
- Added support for Android API level `32` in addition to the API level `29`.
|
||||
- Added FSGAssetUtils editor-only class.
|
||||
- Added FSGContentBrowserExtension editor-only class.
|
||||
- Added FSGPluginStyle editor-only class.
|
||||
- Added FSGSocketsEditor editor-only class.
|
||||
- Added FSGSocketsEditorCommands editor-only class.
|
||||
- Added the FSGInitializationSettings config struct in order to control how the plugin is initialized.
|
||||
- Introduced the FSGGameUserSettings for managing the Engine Scalability Settings through the SenseGlove plugin in order to change the graphics settings on the fly.
|
||||
- Added USGGameUserSettingsKismetLibrary in order to allow all the Engine Scalability Settings to be managed from the Blueprint side.
|
||||
- Added FSGGameUserSettingsSettings config struct.
|
||||
- Added the SenseGlove console commands: SG_GetEngineScalabilitySettings() and SG_SetEngineScalabilitySettings(Scalability).
|
||||
- Added SGHardwareBenchmarkingSettings config struct.
|
||||
- Introduced ESGEngineScalabilitySettings enum.
|
||||
- Added FSGVirtualHandSettingsOverrides config struct used by the new settings override system.
|
||||
- Added SGWristTrackingSettingsOverrides config structured by the new settings override system.
|
||||
- Added support for Android API level 32 in addition to the API level 29.
|
||||
- Introduced the SenseGlove Unreal Engine Handbook as an attempt at documenting the SenseGlove Unreal Engine Plugin.
|
||||
- Merged the `pack` utility branch to the plugin's source code at `/Packager` which adds the SenseGlove Unreal Engine Marketplace Packager `v0.4.0-a65bb20` binaries and configurations.
|
||||
- Merged the `pack` utility branch to the plugin's source code at `/Packager` which adds the SenseGlove Unreal Engine Marketplace Packager v0.4.0-a65bb20 binaries and configurations.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed a bug when the virtual hand inside the game is not visible but still collides with other objects inside the scene, mistakenly triggering events like `OnGrabStateUpdated` and `OnTouchStateUpdated`.
|
||||
- Fixed a bug where `USGGrabComponent`'s `bAffectPhysicsState` does not enables physics on its owning actor at `BeginPlay()`.
|
||||
- Fixed a bug when the virtual hand inside the game is not visible but still collides with other objects inside the scene, mistakenly triggering events like OnGrabStateUpdated and OnTouchStateUpdated.
|
||||
- Fixed a bug where USGGrabComponent's `bAffectPhysicsState` does not enables physics on its owning actor at `BeginPlay()`.
|
||||
- Fixed various wrong Kismet script names and their class exports.
|
||||
- Fixed the display name for various overloads of the Blueprint-exposed function `Queue Command Vibro Level` to expose sensible display names.
|
||||
- Some Android UPL tweaks, permission, and build fixes.
|
||||
- Many other large and small fixes and improvements that might not be listed here.
|
||||
- A few small bugfixes that have already been backported to the `v2.0.x` series.
|
||||
- A few small bugfixes that have already been backported to the v2.0.x series.
|
||||
|
||||
### Changed
|
||||
|
||||
- Now, if `bValidateIfDefaultClassesAreSGCompliant` option from `FSGInitializationSettings` is enabled (default) the SenseGlove plugin checks for default SenseGlove-compliant `GameMode`, `GameInstance`, etc, at module initialization and tries to set to default, native SenseGlove classes, if any of those default classes are not a SenseGlove or a SenseGlove-derived class.
|
||||
- The`USGSettings` has been fully revamped with more customizations added and categorized in a different manner adding many new structs and removing some, in order to have fine-grained control over the various aspects and functionality of the plugin components.
|
||||
- The `USGSettings` constructor visibility has been changed from public to private.
|
||||
- The Settings override system has been overhauled as well affecting how we override settings from the `USGVirtualHandComponent` and `USGWristTrackerComponent`.
|
||||
- The SenseGlove libraries have been updated to `v2.104.1-55fddbd2`.
|
||||
- `GetHandPose()` has been replaced by `GetMotionControllerData()` inside `USGVirtualHandComponent` (see the relevant entry in the Added and Removed sections).
|
||||
- Many functions inside `USGVirtualHandComponent` for retrieving bone names or reference transforms has been renamed to return different data types; e.g. `GetLeftHandFingerBoneNames()`, `GetRightHandFingerBoneNames()`, `GetLeftHandFingerBoneName()`, and `GetRightHandFingerBoneName()` renamed to `GetLeftHandBoneNames()`, `GetRightHandBoneNames()`, `GetLeftHandBoneName()`, and `GetRightHandBoneName()` respectively.
|
||||
- `bHiddenInGameIfNoGloveDetected` uproperty from `USGVirtualHandComponent` has been renamed to `bVisibleWhenHandDataUnavailable` and accordingly all of its getters and setters; `bVisibleWhenHandDataUnavailable = false` now acts as `bHiddenInGameIfNoGloveDetected = true`, and vice-versa.
|
||||
- `USGWristTrackerComponent` now uses `FXRMotionControllerData` for wrist tracking instead of calculating the wrist location by calling the SenseGlove API.
|
||||
- `FSGVirtualHandAnimInstanceProxy` now relies on `FXRMotionControllerData` to animate the hands instead of a `TMap` of bone names and rotations which allows it to also apply the bone locations.
|
||||
- Now, if bValidateIfDefaultClassesAreSGCompliant option from FSGInitializationSettings is enabled (default) the SenseGlove plugin checks for default SenseGlove-compliant GameMode, GameInstance, etc, at module initialization and tries to set to default, native SenseGlove classes, if any of those default classes are not a SenseGlove or a SenseGlove-derived class.
|
||||
- The USGSettings has been fully revamped with more customizations added and categorized in a different manner adding many new structs and removing some, in order to have fine-grained control over the various aspects and functionality of the plugin components.
|
||||
- The USGSettings constructor visibility has been changed from public to private.
|
||||
- The Settings override system has been overhauled as well affecting how we override settings from the USGVirtualHandComponent and USGWristTrackerComponent.
|
||||
- The SenseGlove libraries have been updated to v2.104.1-55fddbd2.
|
||||
- GetHandPose() has been replaced by GetMotionControllerData inside USGVirtualHandComponent (see the relevant entry in the Added and Removed sections).
|
||||
- Many functions inside USGVirtualHandComponent for retrieving bone names or reference transforms has been renamed to return different data types; e.g. GetLeftHandFingerBoneNames(), GetRightHandFingerBoneNames(), GetLeftHandFingerBoneName(), and GetRightHandFingerBoneName() renamed to GetLeftHandBoneNames(), GetRightHandBoneNames(), GetLeftHandBoneName(), and GetRightHandBoneName() respectively.
|
||||
- bHiddenInGameIfNoGloveDetected UPROPERTY from USGVirtualHandComponent has been renamed to bVisibleWhenHandDataUnavailable and accordingly all of its getters and setters; bVisibleWhenHandDataUnavailable = false now acts as bHiddenInGameIfNoGloveDetected = true, and vice-versa.
|
||||
- USGWristTrackerComponent now uses FXRMotionControllerData for wrist tracking instead of calculating the wrist location by calling the SenseGlove API.
|
||||
- FSGVirtualHandAnimInstanceProxy now relies on FXRMotionControllerData to animate the hands instead of a TMap of bone names and rotations which allows it to also apply the bone locations.
|
||||
- The new OpenXR animation system now takes into account the mesh bone's transforms for a more reliable hand animation.
|
||||
- `FSGDebugVirtualHand::Draw()` now accepts a `FXRMotionControllerData` parameter instead of all `WristLocation`, `WristRotation`, `JointPositions`, and `JointRotations` parameters.
|
||||
- `FSGDebugVirtualHandSettings` has been renamed to `FSGVirtualHandDebuggingSettings`.
|
||||
- The value for `USGGrabComponent`'s `AttachmentSocketName` uproperty now defaults to the value of the plugin's `GrabAttachPointSocketName` instead of `Name_NONE`.
|
||||
- The `SGGrabComponent` now enables `bGravityEnabled`, `bSimulatePhysics`, and calls `WakeRigidBody` on its owning actor at `BeginPlay()` if `bAffectPhysicsState` is enabled.
|
||||
- FSGDebugVirtualHand::Draw now accepts a FXRMotionControllerData parameter instead of all WristLocation, WristRotation, JointPositions, and JointRotations parameters.
|
||||
- FSGDebugVirtualHandSettings has been renamed to FSGVirtualHandDebuggingSettings.
|
||||
- The value for USGGrabComponent's AttachmentSocketName uproperty now defaults to the value of the plugin's GrabAttachPointSocketName instead of Name_NONE.
|
||||
- The USGGrabComponent now enables `bGravityEnabled`, `bSimulatePhysics`, and calls `WakeRigidBody` on its owning actor at `BeginPlay()` if `bAffectPhysicsState` is enabled.
|
||||
- Updated the Directory Structure section of the main README file to reflect the latest toolchain support status.
|
||||
- The `/CHANGELOG.md` file has been migrated to `/Handbook/src/overview/changelog.md`
|
||||
- The `/LICENSE.md` file has been migrated to `/Handbook/src/license/senseglove-unreal-engine-plugin.md`
|
||||
@@ -440,19 +331,19 @@ This is a minor release focusing mainly on bringing OpenXR-compatible hand track
|
||||
|
||||
### Removed
|
||||
|
||||
- Dropped support for Unreal Engine `5.1` and Epic Native Toolchain `v20` (used to build UE `5.0` and `5.1` Linux dependencies).
|
||||
- Dropped support for Unreal Engine 5.1 and Epic Native Toolchain v20 (used to build UE 5.0 and 5.1 Linux dependencies).
|
||||
- Removed the Allbreaker virtual hand model as it's no longer compatible with the SenseGlove plugin.
|
||||
- Removed `ASGVirtualHandActor` as it was experimental and we no longer maintain it and haven't been doing so for a long time.
|
||||
- Removed `FSGVirtualHandAnimInstanceProxy::GetBonesRotations()`.
|
||||
- Removed `USGVirtualHandComponent::GetHandPose()` and it's no longer possible to get the hand pose data from `USGVirtualHandComponent` as `GetHandPose()` has been removed. If you need it, you could always use the SenseGlove low-level API to retrieve it from the glove.
|
||||
- Removed also `GetFingerBoneName()`, `GetFingerBoneRefTransform()`, `GetFingerBoneRefRotation()` and `GetFingerBoneRefRotation()` from `USGVirtualHandComponent`.
|
||||
- Removed some remnants of UE `5.1` and older releases from the C++ code.
|
||||
- Removed ASGVirtualHandActor as it was experimental and we no longer maintain it and haven't been doing so for a long time.
|
||||
- Removed FSGVirtualHandAnimInstanceProxy::GetBonesRotations().
|
||||
- Removed USGVirtualHandComponent::GetHandPose() and it's no longer possible to get the hand pose data from USGVirtualHandComponent as GetHandPose() has been removed. If you need it, you could always use the SenseGlove low-level API to retrieve it from the glove.
|
||||
- Removed also GetFingerBoneName(), GetFingerBoneRefTransform(), GetFingerBoneRefRotation() and GetFingerBoneRefRotation() from USGVirtualHandComponent.
|
||||
- Removed some remnants of UE 5.1 and older releases from the C++ code.
|
||||
- Removed the `pack` utility branch and merge it to the plugin's source code at `/Packager`.
|
||||
|
||||
### Known Issues
|
||||
|
||||
- With the new OpenXR release, the separation of the real and virtual hand rendering is broken. The reason is the animation system now uses the OpenXR data in the world transforms which yields better animations, but comes at the cost of overriding the the hand position set by the wrist tracker component's position and rotation. If `FXRMotionControllerData` is invalid and `bVisibleWhenHandDataUnavailable` is enabled for example, the system works as expected, since the animation system won't proceed to animate the hand meshes without valid `FXRMotionControllerData`. Since the animation system is only aware of the hand mesh it's animating versus the real hand and virtual hand meshes it means either it should become aware of the physics events like begin and end overlap events and also the real vs virtual hands, or it should resort back to animating the virtual hand meshes in local or component space. This release marks this feature as broken for now until we come up with a reasonable solution in the future.
|
||||
- The `UXRDeviceVisualizationComponent` provided by Unreal Engine is used in the `SGPawn` class as `ControllerVisualizerLeft` and `ControllerVisualizerRight` for implementing the wrist tracking hardware visualization feature. However, it is not compatible with the new OpenXR system in certain scenarios. For instance, when the motion controllers serve as wrist tracking hardware since the SenseGlove plugin is now introduced to the engine as an `OpenXRHandTracking` system, it causes the `UXRDeviceVisualizationComponent` to visualize the wrist tracking hardware at coordinates (`0.0f`, `0.0f`, `0.0f`) instead of their actual location and rotation in the world. This happens because the component incorrectly registers them as inactive, possibly because it's assumed hand tracking and motion controllers cannot be in use at the same time. Currently, we use this feature solely for debugging, and we have an alternative in the form of wrist-tracking debug gizmos, which can be toggled on or off via the settings system. In future releases, we might remove this feature due to its incompatibility, unless we find a solution to make the `UXRDeviceVisualizationComponent` work with the new system. Alternatively, we may develop our own version of the `UXRDeviceVisualizationComponent`.
|
||||
- The `UXRDeviceVisualizationComponent` provided by Unreal Engine is used in the SGPawn class as ControllerVisualizerLeft and ControllerVisualizerRight for implementing the wrist tracking hardware visualization feature. However, it is not compatible with the new OpenXR system in certain scenarios. For instance, when the motion controllers serve as wrist tracking hardware since the SenseGlove plugin is now introduced to the engine as an `OpenXRHandTracking` system, it causes the UXRDeviceVisualizationComponent to visualize the wrist tracking hardware at coordinates (0.0f, 0.0f, 0.0f) instead of their actual location and rotation in the world. This happens because the component incorrectly registers them as inactive, possibly because it's assumed hand tracking and motion controllers cannot be in use at the same time. Currently, we use this feature solely for debugging, and we have an alternative in the form of wrist-tracking debug gizmos, which can be toggled on or off via the settings system. In future releases, we might remove this feature due to its incompatibility, unless we find a solution to make the `UXRDeviceVisualizationComponent` work with the new system. Alternatively, we may develop our own version of the `UXRDeviceVisualizationComponent`.
|
||||
- Although the SenseGlove OpenXR implementation is fully compatible with the `IOpenXRHMD` interface and the `FOpenXRHMD` `XRTrackingSystem`, it is not compatible with the `FOculusXRHMD` backend provided by the Meta XR plugin. The same issue likely applies to the VIVE OpenXR plugin. So, if these plugins are enabled in your project, the SenseGlove OpenXR will not function as intended, effectively breaking the plugin's functionality. It seems these plugins are necessary in order to make the fallback to the hand-tracking feature work on Android. While we may add support and compatibility with Meta XR and VIVE OpenXR plugins in the future, for the time being, if your project requires these plugins, we advise continuing with the `v2.0.x` release of the SenseGlove Unreal Engine plugin until this issue is addressed.
|
||||
|
||||
## [2.0.8] - 2024-07-15
|
||||
@@ -461,23 +352,23 @@ This is a bugfix release that contains a somewhat important bugfix backported fr
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a bug where the `SGPawn` right-hand grab colliders' default size is mistakenly set to the default value for the left-hand grab colliders at CDO initialization time.
|
||||
- Fix a bug where the SGPawn right-hand grab colliders' default size is mistakenly set to the default value for the left-hand grab colliders at CDO initialization time.
|
||||
|
||||
## [2.0.7] - 2024-05-29
|
||||
|
||||
This is a bugfix release with no actual plugin code changes, only fixing issues with binary assets incompatible with UE versions earlier than `5.4`.
|
||||
This is a bugfix release with no actual plugin code changes, only fixing issues with binary assets incompatible with UE versions earlier than 5.4.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Make the Allbreaker assets compatible with UE5.1+ again as the `v2.0.5` update breaks compatibility with UE versions earlier than `5.4`, thus leaving the engine unable to load those assets.
|
||||
- Make the Allbreaker assets compatible with UE5.1+ again as the v2.0.5 update breaks compatibility with UE versions earlier than 5.4, thus leaving the engine unable to load those assets.
|
||||
|
||||
## [2.0.6] - 2024-05-29
|
||||
|
||||
This is a bugfix release with no actual plugin code changes, only removing development/test assets from UE `5.3` that were never meant to be shipped.
|
||||
This is a bugfix release with no actual plugin code changes, only removing development/test assets from UE 5.3 that were never meant to be shipped.
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed the dev/test virtual hand models that leaked into the `5.3` branch.
|
||||
- Removed the dev/test virtual hand models that leaked into the 5.3 branch.
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -496,21 +387,21 @@ This is a bugfix release with no actual plugin's code change.
|
||||
### Fixed
|
||||
|
||||
- Fix our in-house Unreal Engine Marketplace submission tool's configurations where the Content folder (containing the Allbreaker hand model) is mistakenly ignored during the submission. This release reintroduces the Virtual Hand Model and its material missing from the previous release.
|
||||
- Fix the `SenseGlove.uproject`'s wrong versioning submitted to the Unreal Engine Marketplace.
|
||||
- Fix the SenseGlove.uproject's wrong versioning submitted to the Unreal Engine Marketplace.
|
||||
|
||||
## [2.0.3] - 2024-05-15
|
||||
|
||||
This is a bugfix release addressing mostly RunUAT build issues on Unreal Engine `5.4`.
|
||||
This is a bugfix release addressing mostly RunUAT build issues on Unreal Engine 5.4.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix UE `5.4` RunUAT build issue: "Asking CppCompileEnvironment for a single Architecture, but it has multiple Architectures (arm64, x64)", affecting `SenseGloveConnectImpl` and `SenseGloveCoreImpl` modues.
|
||||
- Improved target platform detection when building `SenseGloveConnectImpl` and `SenseGloveCoreImpl` modules and also distinguishing the `x64` builds from `arm64` on Microsoft Windows.
|
||||
- Fix other UE `5.4` RunUAT build issues, mostly caused by missing headers.
|
||||
- Fix UE 5.4 RunUAT build issue: "Asking CppCompileEnvironment for a single Architecture, but it has multiple Architectures (arm64, x64)", affecting SenseGloveConnectImpl and SenseGloveCoreImpl modues.
|
||||
- Improved target platform detection when building SenseGloveConnectImpl and SenseGloveCoreImpl modules and also distinguishing the x64 builds from arm64 on Microsoft Windows.
|
||||
- Fix other UE 5.4 RunUAT build issues, mostly caused by missing headers.
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed support for Android `armeabi-v7a` and `x86` architectures as they are no longer supported by the supported engine versions.
|
||||
- Removed support for Android armeabi-v7a and x86 architectures as they are no longer supported by the supported engine versions.
|
||||
|
||||
## [2.0.2] - 2024-04-25
|
||||
|
||||
@@ -518,11 +409,11 @@ This is a patch release with no code changes.
|
||||
|
||||
### Added
|
||||
|
||||
- Introduce official Unreal Engine `5.4` support to the Unreal Engine Marketplace.
|
||||
- Introduce official Unreal Engine 5.4 support to the Unreal Engine Marketplace.
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated the Platform Support Matrix with the latest changes. This is the last release to support Unreal Engine `5.1` as we no longer are able to push updates for this release to the Unreal Engine Marketplace. The `v2.0.1` release for Unreal Engine `5.1` can be obtained from the Unreal Engine Marketplace, and `v2.0.2` through our Microsoft Azure DevOps repositories. Please note that there are no actual code changes between these two releases and in terms of functionality they are almost identical.
|
||||
- Updated the Platform Support Matrix with the latest changes. This is the last release to support Unreal Engine 5.1 as we no longer are able to push updates for this release to the Unreal Engine Marketplace. The v2.0.1 release for Unreal Engine 5.1 can be obtained from the Unreal Engine Marketplace, and v2.0.2 through our Microsoft Azure DevOps repositories. Please note that there are no actual code changes between these two releases and in terms of functionality they are almost identical.
|
||||
|
||||
## [2.0.1] - 2024-04-15
|
||||
|
||||
@@ -530,15 +421,15 @@ This is a bugfix release.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a bug inside both `SGVirtualHandComponent` and `SGWristTrackerComponent` where the connected glove's `UObject` instance gets destroyed and re-instantiated every frame. With this fix now the glove instance will be created or destroyed only when a glove connects to or disconnects from the system.
|
||||
- Fix a bug inside both SGVirtualHandComponent and SGWristTrackerComponent where the connected glove's UObject instance gets destroyed and re-instantiated every frame. With this fix now the glove instance will be created or destroyed only when a glove connects to or disconnects from the system.
|
||||
- Update the outdated Platform Support Matrix and its remarks section to reflect the latest status information.
|
||||
- Fix the wrong header file description sections for the header files inside `SenseGloveKismet/Public/SGKismet/`.
|
||||
|
||||
### Changed
|
||||
|
||||
- SenseGlove libraries have been updated to `v2.102.0-35d4de3f`.
|
||||
- Together, SenseGlove libraries `v2.102.0-35d4de3f` and SenseCom `v1.6.1` remove the need to call ResetCalibration every time and are able to store and load calibration profiles from disk.
|
||||
- SesenGloveBackend module is no longer calling `FSGHandLayer::ResetCalibration()` on every backend initialization.
|
||||
- SenseGlove libraries have been updated to v2.102.0-35d4de3f.
|
||||
- Together, SenseGlove libraries v2.102.0-35d4de3f and SenseCom v1.6.1 remove the need to call ResetCalibration every time and are able to store and load calibration profiles from disk.
|
||||
- SesenGloveBackend module is no longer calling FSGHandLayer::ResetCalibration on every backend initialization.
|
||||
|
||||
## [2.0.0] - 2024-03-22
|
||||
|
||||
@@ -549,37 +440,37 @@ This is the second major release of the SenseGlove Unreal Engine Plugin adding s
|
||||
- Added support for the SenseGlove Nova 2 devices.
|
||||
- Added support for Quest 3 controllers.
|
||||
- Various classes have been added to the API in order to implement the new functionalities and features from the latest upstream SenseGlove libraries.
|
||||
- Added initial support for the upcoming Unreal Engine `5.4` release.
|
||||
- Added initial support for the upcoming Unreal Engine 5.4 release.
|
||||
- Added a pair of default production-ready virtual hand meshes for the left and right hands, courtesy of [Allbreaker LLC Columbia](https://www.allbreaker.co/). For usage and redistribution, please consult the [LICENSE-THIRD-PARTY.md](LICENSE-THIRD-PARTY.md) file.
|
||||
|
||||
### Fixed
|
||||
|
||||
- A few critical bug fixes that have already been backported to the `v1.x.x` series through `v1.9.3` to `v1.9.8` releases.
|
||||
- Revamped the way we do `FVector` <-> `SGVect3D`, `FQuat` <-> `SGQuat`, and SenseGlove <-> Unreal Engine angles conversions in order to properly translate between the SenseGlove and Unreal Engine coordinate systems.
|
||||
- A few critical bug fixes that have already been backported to the v1.x.x series through v1.9.3 to v1.9.8 releases.
|
||||
- Revamped the way we do FVector <-> SGVect3D, FQuat <-> SGQuat, and SenseGlove <-> Unreal Engine angles conversions in order to properly translate between the SenseGlove and Unreal Engine coordinate systems.
|
||||
- Allow the C++ compiler the opportunity to perform RVO/NRVO if applicable.
|
||||
- Fix the modules' order inside the `.uplugin` file.
|
||||
- Fix a build issue inside `FSGArrayUtils::FromStdVector()` introduced by newer MVSC updates due to stricter implicit `uint64` to `int32` conversions.
|
||||
- Fix a build issues inside `FSGArrayUtils` when performing non-Unity builds due to the missing `<string>` header.
|
||||
- Fix other build issues in `USGDevice`, `USGNovaGloveSensorData`, `FSGDeviceImpl`, and `FSGSenseGloveVarsImpl` when performing non-Unity builds due to the missing relevant headers.
|
||||
- Fix the modules' order inside the .uplugin file.
|
||||
- Fix a build issue inside FSGArrayUtils::FromStdVector introduced by newer MVSC updates due to stricter implicit uint64 to int32 conversions.
|
||||
- Fix a build issues inside FSGArrayUtils when performing non-Unity builds due to the missing <string> header.
|
||||
- Fix other build issues in USGDevice, USGNovaGloveSensorData, FSGDeviceImpl, and FSGSenseGloveVarsImpl when performing non-Unity builds due to the missing relevant headers.
|
||||
- Fix changelog formatting.
|
||||
- Some other improverment and fixes.
|
||||
|
||||
### Changed
|
||||
|
||||
- SenseGlove libraries have been updated to `v2.101.12-62b1be11`.
|
||||
- SenseGlove libraries have been updated to v2.101.12-62b1be11.
|
||||
- The SenseGlove Unreal Engine Plugin now declares the OpenXR plugin as a dependency, so that the OpenXR plugin will be enabled automatically as soon as the SenseGlove Unreal Engine Plugin gets enabled.
|
||||
- Various classes and parts of the API have been changed in order to reflect and adhere to upstream SenseGlove libraries.
|
||||
- Reverse the Platform Support Matrix order from newer Unreal Engine versions to the older ones.
|
||||
- Clarify the engine support policy in the main readme file by adding the corresponding references from the Epic Marketplace Guidelines and a URL to their guidelines page.
|
||||
- The `SGTouchComponent` uproperties BuzzDuration and BuzzLevel now utilize different different names in order to correspond to the underlying API changes. They have been renamed to `VibrotactileDuration` and `VibrotactileLevel`.
|
||||
- The `SGTouchComponent` uproperties ForceFeedbackLevel and BuzzLevel (now `VibrotactileLevel`) parameters type have changed from `int32` to `float` with the value range varying between `0.0f` to `1.0f` instead of `1` to `100` in order to correspond to the underlying API changes.
|
||||
- The `SGVirtualHandComponent` now assumes the default grab point's name as `GenericGrabPoint` instead of `GrabPoint` as default if not specified in the Unreal Blueprint Editor.
|
||||
- The `SGPawn` on UE `5.2+` now utilizes `UXRDeviceVisualizationComponent` in order to properly display the controller meshes shipped with Unreal Engine's OpenXR plugin, or a user-provided mesh. On UE `5.1` this could still be set on the `WristTrackerLeft` and `WristTrackerRight` components. Please note that despite the fact that on UE `5.2+` it's still possible to utilize the `WristTrackerLeft` and `WristTrackerRight` for setting the controller meshes, this has been deprecated in UE `5.2+` and is no longer supported.
|
||||
- The SGTouchComponent uproperties BuzzDuration and BuzzLevel now utilize different different names in order to correspond to the underlying API changes. They have been renamed to VibrotactileDuration and VibrotacktileLevel.
|
||||
- The SGTouchComponent uproperties ForceFeedbackLevel and BuzzLevel (now VibrotacktileLevel) parameters type have changed from int32 to float with the value range varying between 0.0f to 1.0f instead of 1 to 100 in order to correspond to the underlying API changes.
|
||||
- The SGVirtualHandComponent now assumes the default grab point's name as GenericGrabPoint instead of GrabPoint as default if not specified in the Unreal Blueprint Editor.
|
||||
- The SGPawn on UE 5.2+ now utilizes UXRDeviceVisualizationComponent in order to properly display the controller meshes shipped with Unreal Engine's OpenXR plugin, or a user-provided mesh. On UE 5.1 this could still be set on the WristTrackerLeft and WristTrackerRight components. Please note that despite the fact that on UE 5.2+ it's still possible to utilize the WristTrackerLeft and WristTrackerRight for setting the controller meshes, this has been deprecated in UE 5.2+ and is no longer supported.
|
||||
|
||||
### Removed
|
||||
|
||||
- Various classes and parts of the API have been removed in order to reflect and adhere to upstream SenseGlove libraries.
|
||||
- Removed the redundant `SGIC_int32_Ref` interop type.
|
||||
- Removed the redundant SGIC_int32_Ref interop type.
|
||||
|
||||
## [1.9.8] - 2024-03-12
|
||||
|
||||
@@ -588,14 +479,14 @@ This is a bugfix release that contains bugfixes backported from the next major r
|
||||
### Fixed
|
||||
|
||||
- Fix a bug where the right-hand mesh is always hidden inside the game no matter whether the right glove is connected or not.
|
||||
- Fix a crash inside the `USGHandPose::FromHandAngles()` method.
|
||||
- Some performance optimizations by utilizing `MoveTemp` in return statements.
|
||||
- Fix a crash inside the USGHandPose::FromHandAngles method.
|
||||
- Some performance optimizations by utilizing MoveTemp in return statements.
|
||||
- Some improvements applied to the source code.
|
||||
- Some other minor fixes.
|
||||
|
||||
### Changed
|
||||
|
||||
- The BonesRotations TMap is no longer a public field of `FSGVirtualHandAnimInstanceProxy` and instead could be retrieved by calling the `GetBonesRotations()` method.
|
||||
- The BonesRotations TMap is no longer a public field of FSGVirtualHandAnimInstanceProxy and instead could be retrieved by calling the GetBonesRotations() method.
|
||||
|
||||
## [1.9.7] - 2024-02-18
|
||||
|
||||
@@ -603,8 +494,8 @@ This is a bugfix release that contains bugfixes backported from the next major r
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix various bugs inside the `SGPlayerController` which occur when the thumb and pinky fingers are simultaneously touching different `SGTouchComponents`, or only one of them is in touch with such a component. In this case pinky's buzz and force-feedback levels are determined from the `SGTouchComponent` that is in collision with the thumb instead of the one that is touched by the pinky. Or, the pinky could ignore the buzz and force-feedback level if the thumb is not in collision with an `SGTouchComponent`. Or, the pinky could have reacted with a buzz or force feedback while only the thumb is in contact with an `SGTouchComponent`.
|
||||
- Fix the `BuzzDuration` uproperty range in order not to get clamped at `100.0f` and also use `float` values for `ClampMin` and `UIMin` specifiers instead of integer values.
|
||||
- Fix various bugs inside the SGPlayerController which occur when the thumb and pinky fingers are simultaneously touching different SGTouchComponents, or only one of them is in touch with such a component. In this case pinky's buzz and force-feedback levels are determined from the SGTouchComponent that is in collision with the thumb instead of the one that is touched by the pinky. Or, the pinky could ignore the buzz and force-feedback level if the thumb is not in collision with an SGTouchComponent. Or, the pinky could have reacted with a buzz or force feedback while only the thumb is in contact with an SGTouchComponent.
|
||||
- Fix the BuzzDuration UPROPERTY range in order not to get clamped at 100.0f and also use float values for ClampMin and UIMin specifiers instead of integer values.
|
||||
|
||||
## [1.9.6] - 2024-02-14
|
||||
|
||||
@@ -612,7 +503,7 @@ This is a bugfix release.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a few critical bugs inside the `NovaGlove` class where the higher levels of the API including constructors, Parse, and `NewNovaGlove` methods mistakenly instantiate a `SenseGloveImpl` class instead of a `NovaGloveImpl` class.
|
||||
- Fix a few critical bugs inside the NovaGlove class where the higher levels of the API including constructors, Parse, and NewNovaGlove methods mistakenly instantiate a SenseGloveImpl class instead of a NovaGloveImpl class.
|
||||
|
||||
## [1.9.5] - 2024-02-09
|
||||
|
||||
@@ -620,7 +511,7 @@ This is a bugfix release.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a wrong type-casting inside `SGDeviceModel::ParseFirmware()` where `OutMainVersion` and `OutSubVersion` arguments are getting passed to the lower levels of the API. This could potentially result in a segfault at the FFI boundary between lower and higher levels of the API.
|
||||
- Fix a wrong type-casting inside SGDeviceModel::ParseFirmware where OutMainVersion and OutSubVersion arguments are getting passed to the lower levels of the API. This could potentially result in a segfault at the FFI boundary between lower and higher levels of the API.
|
||||
|
||||
## [1.9.4] - 2024-02-08
|
||||
|
||||
@@ -628,7 +519,7 @@ This is a bugfix release addressing mostly Blueprint API issues with ABI breakin
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix the Blueprint Parse function signature for the `NovaGloveInfoKismetLibrary` where the `OutGloveInfo` passed by the caller was never actually assigned as it was not getting passed by reference.
|
||||
- Fix the Blueprint Parse function signature for the NovaGloveInfoKismetLibrary where the OutGloveInfo passed by the caller was never actually assigned as it was not getting passed by reference.
|
||||
- Changelog formatting.
|
||||
|
||||
## [1.9.3] - 2024-02-03
|
||||
@@ -637,15 +528,15 @@ This is a hotfix release addressing a few critical issues that might result in c
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a potential memory corruption inside one of the `SGBasicHandModel` constructors where the StartPositions parameter gets passed as the StartRotations parameter to lower levels of the API.
|
||||
- Fix a potential memory corruption inside one of the `SGSenseGloveInfo` constructors where the StartPositions parameter gets passed as the Functions parameter to lower levels of the API.
|
||||
- Fix a potential memory corruption where inside the `SGHapticGloveCalibrationSequence::GetCurrentInstruction()` method, the return statement of the function is getting assigned to the const parameter `NextStepKey`, thus the return statement of the function will always be empty as well.
|
||||
- Fix a potential memory corruption where inside one of the overloads of the `SGSenseGloveImpl::GetGlovePose()` method, the out parameter of the method is getting passed as the SensorData parameter to the lower levels of the API.
|
||||
- Fix multiple Equals methods for a few classes such as `SGInterpolationSet`, `SGNovaGloveHandProfile`, `SGNovaGloveInfo`, `SGSenseGloveHandProfile`, `SenseGloveInfo`, `SenseGlovePose`, where the Equal method compares the current instance against itself instead of the other instance passed to as the parameter to the method.
|
||||
- Removed a redundant code statement inside the `SGNovaGloveImpl::GetSubFirmwareVersion()` method.
|
||||
- Fix a potential memory corruption inside one of the SGBasicHandModel constructors where the StartPositions parameter gets passed as the StartRotations parameter to lower levels of the API.
|
||||
- Fix a potential memory corruption inside one of the SGSenseGloveInfo constructors where the StartPositions parameter gets passed as the Functions parameter to lower levels of the API.
|
||||
- Fix a potential memory corruption where inside the SGHapticGloveCalibrationSequence::GetCurrentInstruction method, the return statement of the function is getting assigned to the const parameter NextStepKey, thus the return statement of the function will always be empty as well.
|
||||
- Fix a potential memory corruption where inside one of the overloads of the SGSenseGloveImpl::GetGlovePose method, the out parameter of the method is getting passed as the SensorData parameter to the lower levels of the API.
|
||||
- Fix multiple Equals methods for a few classes such as SGInterpolationSet, SGNovaGloveHandProfile, SGNovaGloveInfo, SGSenseGloveHandProfile, SenseGloveInfo, SenseGlovePose, where the Equal method compares the current instance against itself instead of the other instance passed to as the parameter to the method.
|
||||
- Removed a redundant code statement inside the SGNovaGloveImpl::GetSubFirmwareVersion method.
|
||||
- Some minor const correctness fixes.
|
||||
- Some other minor code fixes and improvements.
|
||||
- Fix the wrong version numbers inside the paltform support matrix and the main `.uplugin` file.
|
||||
- Fix the wrong version numbers inside the paltform support matrix and the main .uplugin file.
|
||||
- Minor changelog fixes.
|
||||
- Bumped the copyright years.
|
||||
|
||||
@@ -657,69 +548,69 @@ This is a hotfix release addressing a few critical issues that might result in c
|
||||
|
||||
### Fixed
|
||||
|
||||
- A bug where the released actor is going to be `NULL` whenever the `OnActorReleased` event fires.
|
||||
- A bug where the released actor is going to be NULL whenever the OnActorReleased event fires.
|
||||
|
||||
## [1.9.1] - 2023-10-11
|
||||
|
||||
### Fixed
|
||||
|
||||
- Add the missing Unreal Engine C++ header to files that rely on the `ENGINE_*_VERSION` macros in order to fix the Epic Store build failures on UE `5.3`.
|
||||
- Add the missing Unreal Engine C++ header to files that rely on the ENGINE\_\*\_VERSION macros in order to fix the Epic Store build failures on UE 5.3.
|
||||
|
||||
## [1.9.0] - 2023-10-10
|
||||
|
||||
### Changed
|
||||
|
||||
- The `BlueprintImplementableEvent` ufunction specifier for the `OnGrabStateUpdated`, `OnTouchStateUpdated`, `OnActorGrabbed`, `OnActorReleased`, `OnActorBeginTouch`, and `OnActorEndTouch` events have been changed to BlueprintNativeEvent in order to allow them to be implemented from the child C++ classes as well. This won't break any existing Blueprint code that relies on the previous BlueprintImplementableEvent signature.
|
||||
- The BlueprintImplementableEvent UFUNCTION specifier for the OnGrabStateUpdated, OnTouchStateUpdated, OnActorGrabbed, OnActorReleased, OnActorBeginTouch, and OnActorEndTouch events have been changed to BlueprintNativeEvent in order to allow them to be implemented from the child C++ classes as well. This won't break any existing Blueprint code that relies on the previous BlueprintImplementableEvent signature.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Add a missing release note entry for the `v1.8.0` release to the changelog file.
|
||||
- Add a missing release note entry for the v1.8.0 release to the changelog file.
|
||||
|
||||
## [1.8.0] - 2023-10-10
|
||||
|
||||
### Added
|
||||
|
||||
- Introduced new `SGPawn` events: `OnActorGrabbed`, `OnActorReleased`, `OnActorBeginTouch`, and `OnActorEndTouch`.
|
||||
- Exposed `OnGrabStateUpdated`, `OnTouchStateUpdated`, `OnActorGrabbed`, `OnActorReleased`, `OnActorBeginTouch`, and `OnActorEndTouch` events to Blueprint as `BlueprintImplementableEvent`.
|
||||
- Introduced new SGPawn events: OnActorGrabbed, OnActorReleased, OnActorBeginTouch, and OnActorEndTouch.
|
||||
- Exposed OnGrabStateUpdated, OnTouchStateUpdated, OnActorGrabbed, OnActorReleased, OnActorBeginTouch, and OnActorEndTouch events to Blueprint as BlueprintImplementableEvent.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a bug where the `OnTouchStateUpdated` event is mistakenly triggered instead of the `OnGrabStateUpdated` when the right thumb fingertip grab collider overlaps with a grabbable actor.
|
||||
- Fix the `DECLARE_EVENT` macro signature for `OnGrabStateUpdated` and `OnTouchStateUpdated` events.
|
||||
- Fix a bug where the OnTouchStateUpdated event is mistakenly triggered instead of the OnGrabStateUpdated when the right thumb fingertip grab collider overlaps with a grabbable actor.
|
||||
- Fix the DECLARE_EVENT macro signature for OnGrabStateUpdated and OnTouchStateUpdated events.
|
||||
|
||||
## [1.7.0] - 2023-09-14
|
||||
|
||||
### Added
|
||||
|
||||
- Introduce `SGGameInstance`, a customized SenseGlove game instance for future use.
|
||||
- Added the new `SenseGloveBackend` and `SenseGloveBackendKismet` modules.
|
||||
- Added `SG_CPP20` C++ macro for C++20 detection, which is now default from UE `5.3` onwards.
|
||||
- Added `SG_CAPTURE_THIS` C++ macro as a workaround for `error C4855: implicit capture of 'this' via '[=]' is deprecated in /std:c++20` in order to build the same lambda captures without extra `#ifdef`s on all supported engine versions.
|
||||
- Introduce SGGameInstance, a customized SenseGlove game instance for future use.
|
||||
- Added the new SenseGloveBackend and SenseGloveBackendKismet modules.
|
||||
- Added SG_CPP20 C++ macro for C++20 detection, which is now default from UE 5.3 onwards.
|
||||
- Added SG_CAPTURE_THIS C++ macro as a workaround for error C4855: implicit capture of 'this' via '[=]' is deprecated in /std:c++20 in order to build the same lambda captures without extra #ifdefs on all supported engine versions.
|
||||
|
||||
### Changed
|
||||
|
||||
- SenseGlove libraries have been updated to `v2.12.0-19c9854`.
|
||||
- `SGCoreImpl`/`SGPlatform` has been moved to `SGBuildHacks`/`SGPlatform`.
|
||||
- SenseGlove libraries have been updated to v2.12.0-19c9854.
|
||||
- SGCoreImpl/SGPlatform has been moved to SGBuildHacks/SGPlatform.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Proper initialization of the SenseGlove backend in order to fix a bug in certain situations where `SGConnect::Init()` gets called every frame.
|
||||
- Proper initialization of the SenseGlove backend in order to fix a bug in certain situations where SGConnect::Init() gets called every frame.
|
||||
- Some other minor fixes and improvements.
|
||||
|
||||
## [1.6.1] - 2023-08-14
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix Unreal Engine `5.0` build issues.
|
||||
- Fix Unreal Engine 5.0 build issues.
|
||||
- Minor documentation fixes.
|
||||
|
||||
## [1.6.0] - 2023-08-14
|
||||
|
||||
### Added
|
||||
|
||||
- Added support for the upcoming Unreal Engine `5.3`.
|
||||
- Added support for the upcoming Unreal Engine 5.3.
|
||||
- Now, the hand's velocity is applied to grabbed actors after being released from the hand.
|
||||
- Introduce the real hands to the `SenseGlove` module (`SGPawn`) API.
|
||||
- Introduce the real hands to the SenseGlove module (SGPawn) API.
|
||||
- Added separation of the virtual and real hand rendering.
|
||||
|
||||
### Fixed
|
||||
@@ -729,7 +620,7 @@ This is a hotfix release addressing a few critical issues that might result in c
|
||||
|
||||
### Changed
|
||||
|
||||
- SenseGlove libraries have been updated to `v2.11.0-b775a05`.
|
||||
- SenseGlove libraries have been updated to v2.11.0-b775a05.
|
||||
|
||||
## [1.5.3] - 2023-07-19
|
||||
|
||||
@@ -741,7 +632,7 @@ This is a hotfix release mostly addressing Android Bluetooth performance issues.
|
||||
|
||||
### Changed
|
||||
|
||||
- SenseGlove libraries have been updated to `v2.10.1-3b0e7c9`.
|
||||
- SenseGlove libraries have been updated to v2.10.1-3b0e7c9.
|
||||
|
||||
## [1.5.2] - 2023-07-19
|
||||
|
||||
@@ -749,7 +640,7 @@ This is a hotfix release mostly addressing Android-related issues.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a build issue with Android shipping builds due to `sgconnect.jar` not getting copied automatically in the AFSProject which is compiled for shipping builds when `AndroidFileServer (AFS)` is enabled.
|
||||
- Fix a build issue with Android shipping builds due to sgconnect.jar not getting copied automatically in the AFSProject which is compiled for shipping builds when AndroidFileServer (AFS) is enabled.
|
||||
- Minor changelog fixes and some source code formatting fixes.
|
||||
|
||||
## [1.5.1] - 2023-07-13
|
||||
@@ -769,7 +660,7 @@ This release breaks ABI/API compatibility with the previous versions in some are
|
||||
|
||||
- Added HTC VIVE Focus 3 positional tracking hardware enum.
|
||||
- Added support for the Meta Quest Pro, HTC VIVE, and HTC VIVE Focus 3 positional tracking hardware.
|
||||
- Added two options to the wrist tracker settings (to the global plugin settings and the overrides in the wrist tracker component) in order to be able to specify a custom motion source for the left and right hands, so that it allows SteamVR-based trackers such as HTC VIVE or HTC VIVE Focus 3 to operate with the `SGPawn`.
|
||||
- Added two options to the wrist tracker settings (to the global plugin settings and the overrides in the wrist tracker component) in order to be able to specify a custom motion source for the left and right hands, so that it allows SteamVR-based trackers such as HTC VIVE or HTC VIVE Focus 3 to operate with the SGPawn.
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -777,12 +668,12 @@ This release breaks ABI/API compatibility with the previous versions in some are
|
||||
|
||||
### Changed
|
||||
|
||||
- Fully refactored the top-level configurations in the settings system into ustructs.
|
||||
- SenseGlove libraries have been updated to `v2.10.0-12133ac`.
|
||||
- Fully refactored the top-level configurations in the settings system into USTRUCTs.
|
||||
- SenseGlove libraries have been updated to v2.10.0-12133ac.
|
||||
|
||||
### Removed
|
||||
|
||||
- Dropped support for the Epic Native Toolchain `v19`, MSVC `v141` (Visual Studio 2017), and thus Unreal Engine `4.27` as it has been marked as deprecated since `v1.4.x`.
|
||||
- Dropped support for the Epic Native Toolchain v19, MSVC v141 (Visual Studio 2017), and thus Unreal Engine 4.27 as it has been marked as deprecated since v1.4.x.
|
||||
- Removed any kind of support for Oculus Touch (Oculus Rift S and Oculus Quest 1) positional tracking hardware, thus the enum as well.
|
||||
- Removed any kind of support for Pico Neo 2 positional tracking hardware, thus the enum as well.
|
||||
- Removed any kind of support for Pico Neo 3 positional tracking hardware, thus the enum as well.
|
||||
@@ -802,7 +693,7 @@ This is a hotfix release addressing a few critical issues.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix build issues with certain compilers when the Unreal Engine version is older than `5.2`.
|
||||
- Fix build issues with certain compilers when the Unreal Engine version is older than 5.2.
|
||||
- Reintroduced the Virtual Hand and the Wrist Tracker debug gizmos which have temporarily been disabled due to a bug in the settings system.
|
||||
- Some minor changelog fixes.
|
||||
|
||||
@@ -825,19 +716,19 @@ This release breaks ABI/API compatibility with the previous versions.
|
||||
|
||||
### Added
|
||||
|
||||
- Added support for the stable release of Unreal Engine `5.2` (the preview release has been supported since `v1.2.0`).
|
||||
- Added Linux `AArch64` platform support.
|
||||
- Added support for the stable release of Unreal Engine 5.2 (the preview release has been supported since v1.2.0).
|
||||
- Added Linux AArch64 platform support.
|
||||
- Added a new Grab component that can turn any actor into a grabbable object.
|
||||
- Added a new Touch component that enables haptic feedback such as Buzz and Force-Feedback commands.
|
||||
- Added an optional feature in order to automatically stop all haptics on the EndPlay event, wherever the virtual hand component is used. By default, it's enabled.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix Blueprint signatures for `USGVirtualHandComponentKismetLibrary` and make all the Blueprint exposed functions static.
|
||||
- Fix Blueprint signatures for USGVirtualHandComponentKismetLibrary and make all the Blueprint exposed functions static.
|
||||
|
||||
### Changed
|
||||
|
||||
- SenseGlove libraries have been updated to `v2.7.1-965f90c` with support for Linux `AArch64`.
|
||||
- SenseGlove libraries have been updated to v2.7.1-965f90c with support for Linux AArch64.
|
||||
- The Virtual Hand and the Wrist Tracker debug gizmos (the intended use is only for SenseGlove developers for really low-level stuff; thus won't affect the users of the plugin at all) have been disabled and will be ignored due to an esoteric bug in the settings systems which has been scheduled to be fixed in the future releases.
|
||||
|
||||
### Removed
|
||||
@@ -846,7 +737,7 @@ This release breaks ABI/API compatibility with the previous versions.
|
||||
|
||||
### Deprecated
|
||||
|
||||
- This is the last release to support Unreal Engine `4.27` and please keep in mind that the current release is not obtainable through the Unreal Engine Marketplace. The latest published version on the Marketplace for `4.27` is `v1.3.1`. Per Epic's Marketplace policy regarding Code Plugins, we are only able to distribute or update the SenseGlove plugin for the last three stable versions of Unreal Engine. As a result, we won't be able to publish updates or bug fixes for the older versions of the Engine except on rare occasions and only through our official repository on Microsoft Azure DevOps.
|
||||
- This is the last release to support Unreal Engine 4.27 and please keep in mind that the current release is not obtainable through the Unreal Engine Marketplace. The latest published version on the Marketplace for 4.27 is v1.3.1. Per Epic's Marketplace policy regarding Code Plugins, we are only able to distribute or update the SenseGlove plugin for the last 3 stable versions of Unreal Engine. As a result, we won't be able to publish updates or bug fixes for the older versions of the Engine except on rare occasions and only through our official repository on Microsoft Azure DevOps.
|
||||
|
||||
## [1.3.1] - 2023-04-28
|
||||
|
||||
@@ -872,9 +763,9 @@ This release breaks ABI/API compatibility with the previous versions in addition
|
||||
|
||||
### Changed
|
||||
|
||||
- Breaking API/ABI changes in the Settings and the main `SenseGlove` module due to some settings refactoring.
|
||||
- Breaking API/ABI changes in the Settings and the main SenseGlove module due to some settings refactoring.
|
||||
- Breaking changes in the SenseGlove/Unreal coordinates systems conversions due to underlying changes in the SenseGlove Core Libraries.
|
||||
- SenseGlove libraries have been updated to `v2.6.0-aac3d56`.
|
||||
- SenseGlove libraries have been updated to v2.6.0-aac3d56.
|
||||
|
||||
## [1.2.1] - 2023-03-30
|
||||
|
||||
@@ -888,29 +779,29 @@ This release breaks ABI/API compatibility with the previous versions.
|
||||
|
||||
### Added
|
||||
|
||||
- Android/Oculus on-device glove calibration.
|
||||
- Android / Oculus on-device glove calibration.
|
||||
- Introduced the animated Virtual Hand Model (as a set of virtual hand and wrist tracker components and an actor) with in-editor animation availability.
|
||||
- Introduced `SGPawn`, `SGPlayerController`, `SGGameModeBase`, etc classes.
|
||||
- Added an internal `SenseGloveCoreTypes` module in order to share common SenseGloveCore types between various modules.
|
||||
- Segregated Android binaries for NDK `r21e` (UE `4.27` and `5.0`) and `r25b` (UE `5.1`, `5.2`).
|
||||
- Introduced SGPawn, SGPlayerController, SGGameModeBase, etc classes.
|
||||
- Added an internal SenseGloveCoreTypes module in order to share common SenseGloveCore types between various modules.
|
||||
- Segregated Android binaries for NDK r21e (UE 4.27 and 5.0) and r25b (UE 5.1, 5.2).
|
||||
- Fully functional and stable Linux development support.
|
||||
- Fully functional and stable Unreal Engine `5.2` preview support has been added.
|
||||
- Fully functional and stable Unreal Engine 5.2 preview support has been added.
|
||||
- Added a Plugin's settings manager and two new modules SenseGloveSettings and SenseGloveSettingsKismet.
|
||||
|
||||
### Changed
|
||||
|
||||
- SenseGlove libraries have been updated to the Linux-aware version: `v2.5.0-8069342`.
|
||||
- SenseGlove libraries have been updated to the Linux-aware version: v2.5.0-8069342.
|
||||
- API has changed to use degrees instead of radians.
|
||||
- SGCoordinates utility class name has been changed to `SGAngles` and now the plugin API uses degrees in contrast of SenseGlove libraries by default.
|
||||
- SGCoordinates utility class name has been changed to SGAngles and now the plugin API uses degrees in contrast of SenseGlove libraries by default.
|
||||
- Migrate common nested array types into the SenseGloveTypes module from the SenseGloveCore module.
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed a few thousand lines of archaic pre-public-release dead code.
|
||||
- Dropped Android NDK `r21b` binaries used by the older engine versions.
|
||||
- Purged the dead code for dropped engine versions by `v1.1.1` (`4.22`, `4.23`, `4.24`, `4.25`, and `4.26`) that carried over to the current version.
|
||||
- Removed redundant `SGConnectImpl`/`SGPlatform`.
|
||||
- Removed redundant `SGTypes`/`SGConnectTypes`.
|
||||
- Dropped Android NDK r21b binaries used by the older engine versions.
|
||||
- Purged the dead code for dropped engine versions by v1.1.1 (4.22, 4.23, 4.24, 4.25, and 4.26) that carried over to the current version.
|
||||
- Removed redundant SGConnectImpl/SGPlatform.
|
||||
- Removed redundant SGTypes/SGConnectTypes.
|
||||
|
||||
### Known Issues
|
||||
|
||||
@@ -920,8 +811,8 @@ This release breaks ABI/API compatibility with the previous versions.
|
||||
|
||||
### Added
|
||||
|
||||
- Initial support for the upcoming Unreal Engine `5.2`.
|
||||
- Add support for Android `armeabi-v7a` with `neon`, `x86-64`, and `x86` builds in addition to `arm64-v8a`.
|
||||
- Initial support for the upcoming Unreal Engine 5.2.
|
||||
- Add support for Android armeabi-v7a with neon, x86-64, and x86 builds in addition to arm64-v8a.
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -930,7 +821,7 @@ This release breaks ABI/API compatibility with the previous versions.
|
||||
|
||||
### Changed
|
||||
|
||||
- Bump SenseGlove libraries to `v2.1.2-95ec6e7`.
|
||||
- Bump SenseGlove libraries to v2.1.2-95ec6e7.
|
||||
|
||||
## [1.1.0] - 2023-02-03
|
||||
|
||||
@@ -938,7 +829,7 @@ This release breaks ABI/API compatibility with the previous versions.
|
||||
|
||||
- Whitelist Android as a target platform.
|
||||
- Introduce Android support.
|
||||
- Add third-party library SGConnect for Android `v1.1.0`.
|
||||
- Add third-party library SGConnect for Android v1.1.0.
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -946,12 +837,12 @@ This release breaks ABI/API compatibility with the previous versions.
|
||||
|
||||
### Changed
|
||||
|
||||
- SGConnect and SGCore libraries have been updated to `v2.1.1-0569c74`.
|
||||
- SGConnect and SGCore libraries have been updated to v2.1.1-0569c74.
|
||||
|
||||
### Removed
|
||||
|
||||
- Removed the enum utils class due to `ANY_PACKAGE` deprecation warnings in Unreal Engine `5.1`.
|
||||
- Support for older versions of the Engine (namely, `4.22`, `4.23`, `4.24`, `4.25`, and `4.26`) has been dropped.
|
||||
- Removed the enum utils class due to ANY_PACKAGE deprecation warnings in Unreal Engine 5.1.
|
||||
- Support for older versions of the Engine (namely, 4.22, 4.23, 4.24, 4.25, and 4.26) has been dropped.
|
||||
|
||||
## [1.0.4] - 2022-12-02
|
||||
|
||||
@@ -959,11 +850,11 @@ This is a minor release focusing mostly on adherence to the Unreal Engine Market
|
||||
|
||||
### Added
|
||||
|
||||
- Added support for MSVC 2017.
|
||||
- Added support for MSVC 2017
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated SenseGlove libraries (SGCore/SGConnect) to `v2.0.4`.
|
||||
- Updated SenseGlove libraries (SGCore/SGConnect) to v2.0.4.
|
||||
|
||||
## [1.0.3] - 2022-11-29
|
||||
|
||||
@@ -979,7 +870,7 @@ This is a minor release focusing on adherence to the Unreal Engine Marketplace G
|
||||
|
||||
### Added
|
||||
|
||||
- Added the newly acquired Unreal Engine Market Place Offer ID to the `.uplugin` file.
|
||||
- Added the newly acquired Unreal Engine Market Place Offer ID to the .uplugin file.
|
||||
- List the dotfiles inside the FilterPlugin.ini file as well.
|
||||
- Add the copyright notice to the source files missing it.
|
||||
- Add the SenseGlove SDK license to the third-party license file.
|
||||
|
||||
@@ -62,10 +62,6 @@
|
||||
└── ThirdParty (3rd-party dependencies)
|
||||
│
|
||||
├── android (.jar file Java libraries for Android)
|
||||
│ │
|
||||
│ ├── debug
|
||||
│ │
|
||||
│ └── release
|
||||
│
|
||||
├── include (header files)
|
||||
│ │
|
||||
@@ -73,117 +69,71 @@
|
||||
│ │
|
||||
│ ├── SenseGlove
|
||||
│ │ │
|
||||
│ │ ├── BLE (SGBLE headers)
|
||||
│ │ │
|
||||
│ │ ├── Connect (SGConnect headers)
|
||||
│ │ │
|
||||
│ │ └── Core (SGCoreCpp headers)
|
||||
│ │
|
||||
│ └── serial
|
||||
│
|
||||
├── lib (platform-specific pre-built binary dependencies)
|
||||
│ │
|
||||
│ ├── android
|
||||
│ │ │
|
||||
│ │ └── r25b (Android NDK r25b dependencies for UE 5.1+)
|
||||
│ │ │
|
||||
│ │ ├── arm64 (64-bit ARM variant of Android)
|
||||
│ │ │ │
|
||||
│ │ │ ├── debug
|
||||
│ │ │ │
|
||||
│ │ │ └── release
|
||||
│ │ │
|
||||
│ │ └── x64 (64-bit x86-64 variant of Android)
|
||||
│ │ │
|
||||
│ │ ├── debug
|
||||
│ │ │
|
||||
│ │ └── release
|
||||
│ │
|
||||
│ ├── linux
|
||||
│ │ │
|
||||
│ │ ├── rustc (GNU/Linux binary dependencies built with Rust)
|
||||
│ │ │ │
|
||||
│ │ │ ├── aarch64 (dependencies targeting GNU/Linux AArch64 architecture)
|
||||
│ │ │ │ │
|
||||
│ │ │ │ ├── debug
|
||||
│ │ │ │ │
|
||||
│ │ │ │ └── release
|
||||
│ │ │ │
|
||||
│ │ │ └── x86-64 (dependencies targeting GNU/Linux x86-64 architecture)
|
||||
│ │ │ │
|
||||
│ │ │ ├── debug
|
||||
│ │ │ │
|
||||
│ │ │ └── release
|
||||
│ │ │
|
||||
│ │ ├── v22 (UE 5.3 and 5.4 GNU/Linux dependencies)
|
||||
│ │ │ │
|
||||
│ │ │ ├── aarch64 (dependencies targeting GNU/Linux AArch64 architecture)
|
||||
│ │ │ │ │
|
||||
│ │ │ │ ├── debug
|
||||
│ │ │ │ │
|
||||
│ │ │ │ └── release
|
||||
│ │ │ │
|
||||
│ │ │ └── x86-64 (dependencies targeting GNU/Linux x86-64 architecture)
|
||||
│ │ │ │
|
||||
│ │ │ ├── debug
|
||||
│ │ │ │
|
||||
│ │ │ └── release
|
||||
│ │ │
|
||||
│ │ ├── v23 (UE 5.5 GNU/Linux dependencies)
|
||||
│ │ │ │
|
||||
│ │ │ ├── aarch64 (dependencies targeting GNU/Linux AArch64 architecture)
|
||||
│ │ │ │ │
|
||||
│ │ │ │ ├── debug
|
||||
│ │ │ │ │
|
||||
│ │ │ │ └── release
|
||||
│ │ │ │
|
||||
│ │ │ └── x86-64 (dependencies targeting GNU/Linux x86-64 architecture)
|
||||
│ │ │ │
|
||||
│ │ │ ├── debug
|
||||
│ │ │ │
|
||||
│ │ │ └── release
|
||||
│ │ │
|
||||
│ │ └── v25 (UE 5.6 GNU/Linux dependencies)
|
||||
│ │ │
|
||||
│ │ ├── aarch64 (dependencies targeting GNU/Linux AArch64 architecture)
|
||||
│ │ │ │
|
||||
│ │ │ ├── debug
|
||||
│ │ │ │
|
||||
│ │ │ └── release
|
||||
│ │ │
|
||||
│ │ └── x86-64 (dependencies targeting GNU/Linux x86-64 architecture)
|
||||
│ │ │
|
||||
│ │ ├── debug
|
||||
│ │ │
|
||||
│ │ └── release
|
||||
│ │
|
||||
│ └── win64
|
||||
│ │
|
||||
│ ├── msvc142 (Microsoft Visual Studio 2019 dependencies)
|
||||
│ │ │
|
||||
│ │ ├── debug
|
||||
│ │ │
|
||||
│ │ └── release
|
||||
│ │
|
||||
│ ├── msvc143 (Microsoft Visual Studio 2022 dependencies)
|
||||
│ │ │
|
||||
│ │ ├── debug
|
||||
│ │ │
|
||||
│ │ └── release
|
||||
│ │
|
||||
│ └── rustc (Microsoft Windows binary dependencies built with Rust)
|
||||
│ │
|
||||
│ ├── debug
|
||||
│ │
|
||||
│ └── release
|
||||
│
|
||||
├── SGBleThirdPartyLibs (Third-party module providing SGBLE headers and libraries)
|
||||
│
|
||||
├── SGConnectThirdPartyHeaders (Third-party module providing SGConnect headers)
|
||||
│
|
||||
├── SGConnectThirdPartyLibs (Third-party module providing SGConnect headers and libraries)
|
||||
│
|
||||
├── SGCoreThirdPartyLibs (Third-party module providing SGCore headers and libraries)
|
||||
│
|
||||
└── SGSerialThirdPartyLibs (Third-party module providing github.com/wjwwood/serial headers and libraries)
|
||||
└── lib (platform-specific pre-built binary dependencies)
|
||||
│
|
||||
├── android
|
||||
│ │
|
||||
│ └── r25b (Android NDK r25b dependencies for UE 5.1+)
|
||||
│ │
|
||||
│ ├── arm64 (64-bit ARM variant of Android)
|
||||
│ │ │
|
||||
│ │ ├── debug
|
||||
│ │ │
|
||||
│ │ └── release
|
||||
│ │
|
||||
│ └── x64 (64-bit x86-64 variant of Android)
|
||||
│ │
|
||||
│ ├── debug
|
||||
│ │
|
||||
│ └── release
|
||||
│
|
||||
├── linux
|
||||
│ │
|
||||
│ ├── v21 (UE 5.2 Linux dependencies)
|
||||
│ │ │
|
||||
│ │ ├── aarch64 (dependencies targeting AArch64 Linux architecture)
|
||||
│ │ │ │
|
||||
│ │ │ ├── debug
|
||||
│ │ │ │
|
||||
│ │ │ └── release
|
||||
│ │ │
|
||||
│ │ └── x86-64 (dependencies targeting x86-64 Linux architecture)
|
||||
│ │ │
|
||||
│ │ ├── debug
|
||||
│ │ │
|
||||
│ │ └── release
|
||||
│ │
|
||||
│ └── v22 (UE 5.3 and 5.4 Linux dependencies)
|
||||
│ │
|
||||
│ ├── aarch64 (dependencies targeting AArch64 Linux architecture)
|
||||
│ │ │
|
||||
│ │ ├── debug
|
||||
│ │ │
|
||||
│ │ └── release
|
||||
│ │
|
||||
│ └── x86-64 (dependencies targeting x86-64 Linux architecture)
|
||||
│ │
|
||||
│ ├── debug
|
||||
│ │
|
||||
│ └── release
|
||||
│
|
||||
└── win64
|
||||
│
|
||||
├── msvc142 (Microsoft Visual Studio 2019 dependencies)
|
||||
│ │
|
||||
│ ├── debug
|
||||
│ │
|
||||
│ └── release
|
||||
│
|
||||
└── msvc143 (Microsoft Visual Studio 2022 dependencies)
|
||||
│
|
||||
├── debug
|
||||
│
|
||||
└── release
|
||||
```
|
||||
|
||||
@@ -29,21 +29,3 @@ There are various resources available for older versions of the SenseGlove Unrea
|
||||
- [Setting up VIVE Focus 3 & VIVE Wrist Trackers in Unreal Engine](https://youtu.be/SGmQevkzsY4)
|
||||
- [SGBasicDemo: setup throwing objects and physics settings for the real and virtual hands](https://youtu.be/K9Qr_LqgTcY)
|
||||
- [SGBasicDemo v2: upgrading your projects to the SenseGlove Unreal Engine Plugin v2.0.0](https://youtu.be/VbWfoep-Hsg)
|
||||
|
||||
## Third-Party Tutorials
|
||||
|
||||
### OpenXR Tutorials
|
||||
|
||||
- [Introduction to Virtual Reality, OpenXR Hand-Tracking, and Gesture Detection in Unreal Engine](https://youtu.be/67v-sEhidvM)
|
||||
- [Procedural Virtual Hand Mesh Animation Using OpenXR Hand-Tracking Data - Part 1](https://youtu.be/TPEA1GJr_kU)
|
||||
- [Procedural Virtual Hand Mesh Animation Using OpenXR Hand-Tracking Data - Part 2](https://youtu.be/xEnuephuNmw)
|
||||
- [Unreal Engine OpenXR Hand-Tracking on Android with Meta XR (Quest 3S/3/Pro/2) and HTC VIVE OpenXR (Focus Vision/XR Elite/Focus 3) Plugins](https://youtu.be/BWd3MwtfTJE)
|
||||
|
||||
### Android (Meta Quest / HTC VIVE) Tutorials
|
||||
|
||||
- [Build & Deploy Unreal Engine 5.5 Projects APK to Android & Meta Quest 3S/3/Pro/2 in Standalone Mode](https://youtu.be/EClbEbNcl4k)
|
||||
- [Unreal Engine OpenXR Hand-Tracking on Android with Meta XR (Quest 3S/3/Pro/2) and HTC VIVE OpenXR (Focus Vision/XR Elite/Focus 3) Plugins](https://youtu.be/BWd3MwtfTJE)
|
||||
|
||||
### VR Optimization
|
||||
|
||||
- [Optimizing Unreal Engine VR Projects for Higher Framerates (Meta Quest, HTC VIVE, FFR, ETFR, NVIDIA DLSS, AMD FSR, and Intel XeSS Tips Included!)](https://youtu.be/67CZqMrAOns)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
## Planned Features Completion Status
|
||||
|
||||
### Implemented as of v2.6.x
|
||||
### Implemented as of v2.4.x
|
||||
|
||||
- [X] Full SenseGlove low-level core API access through Unreal C++.
|
||||
- [X] Full SenseGlove low-level core API access through Blueprint.
|
||||
@@ -13,10 +13,9 @@
|
||||
- [X] Support for GNU/Linux x64 as a deployment platform.
|
||||
- [X] Support for GNU/Linux AArch64 as a deployment platform.
|
||||
- [X] Support for Android as a deployment platform.
|
||||
- [X] Support for Oculus Quest 2, Oculus Quest Pro, Oculus Quest 3, and Oculus Quest 3s.
|
||||
- [X] Support for Oculus Quest 2, Oculus Quest Pro, and Oculus Quest 3.
|
||||
- [X] Support for HTC VIVE Pro, HTC VIVE Focus 3, HTC XR Elite, and HTC VIVE Focus Vision.
|
||||
- [X] Support for HTC VIVE Trackers and HTC VIVE Wrist Trackers.
|
||||
- [X] Support for both Bluetooth Serial and Bluetooth Low Energy.
|
||||
- [X] On-device calibration for Android without the need for SenseCom.
|
||||
- [X] Haptic feedback including force feedback, buzz, and thumper commands.
|
||||
- [X] A customizable Grab component that could be added to any actor.
|
||||
@@ -42,7 +41,7 @@
|
||||
- [X] Ability to automatically ask for the required permissions on Android when the plugin is enabled in any UE project.
|
||||
- [X] `ViveOpenXR` plugin compatibility.
|
||||
|
||||
### Upcoming features planned for the v2.6.x release
|
||||
### Upcoming features planned for the v2.5.x release
|
||||
|
||||
### Planned features long-term
|
||||
|
||||
|
||||
@@ -2,11 +2,10 @@
|
||||
|
||||
| | **Windows (MSVC 2017)** | **Windows (MSVC 2019)** | **Windows (MSVC 2022)** | **Linux x86-64 (Native Toolchain)** | **Linux AArch64 (Native Toolchain)** | **Meta Quest Standalone (Android NDK)** | **HTC VIVE Standalone (Android NDK)** | **Fab** | **Azure DevOps Version** |
|
||||
|:--------:|-------------------------|-------------------------|-------------------------|:-----------------------------------:|:------------------------------------:|:---------------------------------------:|:-------------------------------------:|:--------:|:------------------------:|
|
||||
| **5.6** | ❌ | ❌ | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x (r25b) | ❓ | ✅ v2.6.2 | ✅ v2.6.2 |
|
||||
| **5.5** | ❌ | ❌ | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x (r25b) | ❓ | ✅ v2.6.2 | ✅ v2.6.2 |
|
||||
| **5.4** | ❌ | ❌ | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x (r25b) | ✅ v2.6.x (r25b) | ✅ v2.6.2 | ✅ v2.6.2 |
|
||||
| **5.3** | ❌ | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x | ✅ v2.6.x (r25b) | ✅ v2.6.x (r25b) | ✅ v2.6.2 | ✅ v2.6.2 |
|
||||
| **5.2** | ❌ | ⚠️ v2.4.x | ⚠️ v2.4.x | ⚠️ v2.4.x | ⚠️ v2.4.x | ⚠️ v2.4.x (r25b) | ❓ | ⚠️ v2.4.2 | ⚠️ v2.4.2 |
|
||||
| **5.5** | ❌ | ❌ | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x (r25b) | ❓ | ✅ v2.4.2 | ✅ v2.4.2 |
|
||||
| **5.4** | ❌ | ❌ | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x (r25b) | ✅ v2.4.x (r25b) | ✅ v2.4.2 | ✅ v2.4.2 |
|
||||
| **5.3** | ❌ | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x (r25b) | ✅ v2.4.x (r25b) | ✅ v2.4.2 | ✅ v2.4.2 |
|
||||
| **5.2** | ❌ | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x | ✅ v2.4.x (r25b) | ❓ | ✅ v2.4.2 | ✅ v2.4.2 |
|
||||
| **5.1** | ❌ | ⚠️ v2.0.x | ⚠️ v2.0.x | ⚠️ v2.0.x | ⚠️ v2.0.x | ⚠️ v2.0.x (r25b) | ❓ | ⚠️ v2.0.0 | ⚠️ v2.0.2 |
|
||||
| **5.0** | ❌ | ⚠️ v1.6.x | ⚠️ v1.6.x | ⚠️ v1.6.x | ⚠️ v1.6.x | ⚠️ v1.6.x (r21e) | ❓ | ⚠️ v1.6.1 | ⚠️ v1.6.1 |
|
||||
| **4.27** | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x | ⚠️ v1.4.x (r21e) | ❓ | ⚠️ v1.3.1 | ⚠️ v1.4.3 |
|
||||
|
||||
@@ -2,14 +2,6 @@
|
||||
|
||||
SenseCom (short for SenseGlove Communications) is a background program that runs alongside your Unreal Engine application. Its primary function is to discover, and connect to SenseGlove devices on your system, exchanging data with them, much like a "SteamVR for Haptic Gloves." The SenseGlove Unreal Engine Plugin relies on SenseCom to communicate with any SenseGlove hardware.
|
||||
|
||||
Communication between your application and the physical gloves are possible via either [Bluetooth Low Energy (a.k.a. Bluetooth LE, colloquially BLE, formerly marketed as Bluetooth Smart)](bluetooth-low-energy/), or [Bluetooth Serial (a.k.a. BT Serial)](bluetooth-serial/) depending on the type and model of your glove, or the firmware version.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Some glove models support firmware upgrades from a Bluetooth Serial firmware
|
||||
> to a BLE-compatible firmware version. For more information, refer to the
|
||||
> [relevant documentation here](https://senseglove.gitlab.io/SenseGloveDocs/nova-2.html?highlight=firmware#updating-your-nova-2-0-firmware),
|
||||
> as this topic is beyond the scope of this handbook.
|
||||
|
||||
> [!NOTE]
|
||||
> SenseCom is required only for communication on Windows or Linux. For
|
||||
> standalone Android devices, the communication functionality is embedded
|
||||
@@ -18,4 +10,4 @@ Communication between your application and the physical gloves are possible via
|
||||
> [!NOTE]
|
||||
> For more detailed information and troubleshooting, consult the
|
||||
> [SenseCom documentation page on SGDocs](https://senseglove.gitlab.io/SenseGloveDocs/sensecom/overview.html),
|
||||
> please.
|
||||
> please.
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
# SenseCom (Bluetooth Low Energy)
|
||||
|
||||
Up to SenseCom `v1.7.x`, the only supported Bluetooth protocol for communication was Bluetooth Serial. However, starting with the `v1.8.x` series, SenseCom introduced support for Bluetooth Low Energy, which is now the preferred method of communication.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> If SenseCom fails to recognize your gloves with Bluetooth Low Energy firmware,
|
||||
> it may be because the `Legacy Connections` option is enabled. In that case
|
||||
> SenseCom is only able to discover gloves with a Bluetooth Serial firmware.
|
||||
> Enabling this option should allow SenseCom to discover and connect to your
|
||||
> glove.
|
||||
>
|
||||
> 
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Some glove models support firmware upgrades from a Bluetooth Serial firmware
|
||||
> to a BLE-compatible firmware version. For more information, refer to the
|
||||
> [relevant documentation here](https://senseglove.gitlab.io/SenseGloveDocs/nova-2.html?highlight=firmware#updating-your-nova-2-0-firmware),
|
||||
> as this topic is beyond the scope of this handbook.
|
||||
@@ -1,10 +0,0 @@
|
||||
# SenseCom on Android (Bluetooth Low Energy)
|
||||
|
||||
Unlike PCVR-mode on Windows or Linux, there's no separate SenseCom application available for Standalone-mode on Android; instead, the communication functionality is integrated into your application.
|
||||
|
||||
As a result, in Standalone-mode, unlike PCVR-mode where BLE gloves do not require pairing at the operating system level and connections are managed by SenseCom, you need to pair your desired gloves through your operating system's Bluetooth settings before launching any applications that rely on [the SenseGlove Unreal Engine Plugin](https://www.fab.com/listings/62bcdd2a-0bb1-4f34-b7b8-c5e7c9313099). These instructions vary depending on the vendor and model of your Head-Mounted Display device. Please refer to the official documentation for detailed instructions:
|
||||
|
||||
- [Meta Quest: Connect a compatible Bluetooth device to Meta Quest headsets](https://www.meta.com/en-gb/help/quest/3263186127339632/)
|
||||
- [HTC VIVE: Pairing Bluetooth devices](https://www.vive.com/eu/support/vive-xr/category_howto/pairing-bluetooth-devices.html)
|
||||
|
||||
If you are using a different kind of HMD, ensure you consult the vendor-specific instructions to properly pair your gloves with your HMD of choice in Standalone-mode.
|
||||
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
LFS
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -1,115 +0,0 @@
|
||||
# SenseCom on GNU/Linux (Bluetooth Low Energy)
|
||||
|
||||
Follow these steps to quickly set up and run SenseCom on GNU/Linux:
|
||||
|
||||
1. First, obtain the SenseCom binaries from its [GitHub repository](https://github.com/Adjuvo/SenseCom).
|
||||
|
||||

|
||||
|
||||
2. Extract the SenseCom `.zip` file to a location on your computer.
|
||||
|
||||
```sh
|
||||
$ unzip SenseCom-main.zip -d /some/path/
|
||||
```
|
||||
|
||||
3. Navigate to the `SenseCom_Linux_Latest` folder containing the SenseCom binaries for GNU/Linux:
|
||||
|
||||
```sh
|
||||
$ cd /some/path/SenseCom-main/Linux/SenseCom_Linux_Latest/
|
||||
```
|
||||
|
||||
4. List the files and check the executable permissions for the main SenseCom binary, `SenseCom.x86_64`:
|
||||
|
||||
```sh
|
||||
$ ls -ahl
|
||||
|
||||
total 20M
|
||||
drwxr-xr-x 3 mamadou mamadou 5 Apr 10 11:24 .
|
||||
drwxr-xr-x 3 mamadou mamadou 5 Apr 10 11:24 ..
|
||||
drwxr-xr-x 7 mamadou mamadou 34 Apr 10 11:24 SenseCom_Data
|
||||
-rw-r--r-- 1 mamadou mamadou 15K Apr 10 11:24 SenseCom.x86_64
|
||||
-rw-r--r-- 1 mamadou mamadou 33M Apr 10 11:24 UnityPlayer.so
|
||||
```
|
||||
|
||||
5. As seen above the `SenseCom.x86_64` binary does not have the executable permission. Run the following command to set the executable permission for all users:
|
||||
|
||||
```sh
|
||||
$ chmod a+x SenseCom.x86_64
|
||||
```
|
||||
|
||||
6. Veirfy the executable permission has been set on `SenseCom.x86_64`:
|
||||
|
||||
```sh
|
||||
$ ls -l SenseCom.x86_64
|
||||
|
||||
-rwxr-xr-x 1 mamadou mamadou 14720 Apr 10 11:24 SenseCom.x86_64
|
||||
```
|
||||
|
||||
7. Make sure the glove is powered on.
|
||||
|
||||
8. Time to run the SenseCom executable:
|
||||
|
||||
```
|
||||
$ ./SenseCom.x86_64
|
||||
|
||||
[UnityMemory] Configuration Parameters - Can be set up in boot.config
|
||||
"memorysetup-bucket-allocator-granularity=16"
|
||||
"memorysetup-bucket-allocator-bucket-count=8"
|
||||
"memorysetup-bucket-allocator-block-size=4194304"
|
||||
"memorysetup-bucket-allocator-block-count=1"
|
||||
"memorysetup-main-allocator-block-size=16777216"
|
||||
"memorysetup-thread-allocator-block-size=16777216"
|
||||
"memorysetup-gfx-main-allocator-block-size=16777216"
|
||||
"memorysetup-gfx-thread-allocator-block-size=16777216"
|
||||
"memorysetup-cache-allocator-block-size=4194304"
|
||||
"memorysetup-typetree-allocator-block-size=2097152"
|
||||
"memorysetup-profiler-bucket-allocator-granularity=16"
|
||||
"memorysetup-profiler-bucket-allocator-bucket-count=8"
|
||||
"memorysetup-profiler-bucket-allocator-block-size=4194304"
|
||||
"memorysetup-profiler-bucket-allocator-block-count=1"
|
||||
"memorysetup-profiler-allocator-block-size=16777216"
|
||||
"memorysetup-profiler-editor-allocator-block-size=1048576"
|
||||
"memorysetup-temp-allocator-size-main=4194304"
|
||||
"memorysetup-job-temp-allocator-block-size=2097152"
|
||||
"memorysetup-job-temp-allocator-block-size-background=1048576"
|
||||
"memorysetup-job-temp-allocator-reduction-small-platforms=262144"
|
||||
"memorysetup-temp-allocator-size-background-worker=32768"
|
||||
"memorysetup-temp-allocator-size-job-worker=262144"
|
||||
"memorysetup-temp-allocator-size-preload-manager=262144"
|
||||
"memorysetup-temp-allocator-size-nav-mesh-worker=65536"
|
||||
"memorysetup-temp-allocator-size-audio-worker=65536"
|
||||
"memorysetup-temp-allocator-size-cloud-worker=32768"
|
||||
"memorysetup-temp-allocator-size-gfx=262144"
|
||||
Loading in SingleInstance mode
|
||||
```
|
||||
|
||||

|
||||
|
||||
9. After running SenseCom, it will not automatically connect to your gloves unless you have already paired them. To pair your devices, navigate to the hamburger menu and select `Pair Devices`.
|
||||
|
||||

|
||||
|
||||
10. Once inside the `Pair Devices` section, in case your gloves are already turned on, you should be able to spot them inside the `Nearby Devices` list.
|
||||
|
||||

|
||||
|
||||
> [!IMPORTANT]
|
||||
> If SenseCom fails to recognize your gloves with Bluetooth Low Energy firmware,
|
||||
> it may be because the `Legacy Connections` option is enabled. In that case
|
||||
> SenseCom is only able to discover gloves with a Bluetooth Serial firmware.
|
||||
> Enabling this option should allow SenseCom to discover and connect to your
|
||||
> glove.
|
||||
>
|
||||
> 
|
||||
|
||||
11. Clicking on any glove within the `Nearby Devices` list will prompt a pairing confirmation. If this is the desired glove you wish to pair, proceed by clicking the `Confirm` button.
|
||||
|
||||

|
||||
|
||||
12. After pairing all gloves, you can return to the main SenseCom window by pressing the `< Back` button. If needed, you can always revisit the `Paired Devices` list to unpair any gloves.
|
||||
|
||||

|
||||
|
||||
13. If you have followed all the steps correctly, upon returning to the main SenseCom window, you should see that your gloves are connected
|
||||
|
||||

|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -1,46 +0,0 @@
|
||||
# SenseCom on Microsoft Windows (Bluetooth Low Energy)
|
||||
|
||||
Follow these steps to quickly set up and run SenseCom on Microsoft Windows:
|
||||
|
||||
1. First, obtain the SenseCom binaries from its [GitHub repository](https://github.com/Adjuvo/SenseCom).
|
||||
|
||||

|
||||
|
||||
2. Extract the SenseCom `.zip` file to a location on your computer after downloading it.
|
||||
|
||||
3. Ensure any glove you would like to pair with and connect to your system is not paired, or connected to any other device, such as another PC or VR headset.
|
||||
|
||||
4. Make sure the glove is powered on.
|
||||
|
||||
5. Now, it's time to run SenseCom. Navigate to the folder where you extracted SenseCom and go to `/path/to/extracted/SenseCom/directory/Win/SenseCom_Win_Latest`, and then run the executable `SenseCom.exe`.
|
||||
|
||||

|
||||
|
||||
6. After running SenseCom, it will not automatically connect to your gloves unless you have already paired them. To pair your devices, navigate to the hamburger menu and select `Pair Devices`.
|
||||
|
||||

|
||||
|
||||
7. Once inside the `Pair Devices` section, in case your gloves are already turned on, you should be able to spot them inside the `Nearby Devices` list.
|
||||
|
||||

|
||||
|
||||
> [!IMPORTANT]
|
||||
> If SenseCom fails to recognize your gloves with Bluetooth Low Energy firmware,
|
||||
> it may be because the `Legacy Connections` option is enabled. In that case
|
||||
> SenseCom is only able to discover gloves with a Bluetooth Serial firmware.
|
||||
> Enabling this option should allow SenseCom to discover and connect to your
|
||||
> glove.
|
||||
>
|
||||
> 
|
||||
|
||||
8. Clicking on any glove within the `Nearby Devices` list will prompt a pairing confirmation. If this is the desired glove you wish to pair, proceed by clicking the `Confirm` button.
|
||||
|
||||

|
||||
|
||||
9. After pairing all gloves, you can return to the main SenseCom window by pressing the `< Back` button. If needed, you can always revisit the `Paired Devices` list to unpair any gloves.
|
||||
|
||||

|
||||
|
||||
10. If you have followed all the steps correctly, upon returning to the main SenseCom window, you should see that your gloves are connected
|
||||
|
||||

|
||||
@@ -1,17 +0,0 @@
|
||||
# SenseCom (Bluetooth Serial)
|
||||
|
||||
Up to SenseCom `v1.7.x`, the only supported Bluetooth protocol for communication was Bluetooth Serial. However, starting with the `v1.8.x` series, SenseCom introduced support for Bluetooth Low Energy, which is now the preferred method of communication.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> If you are using SenseCom `v1.8.x+` and it fails to recognize your gloves with
|
||||
> a Bluetooth Serial firmware, it may be because the `Legacy Connections` option
|
||||
> is disabled, which is the default. Enabling this option should allow SenseCom
|
||||
> to discover and connect to your glove.
|
||||
>
|
||||
> 
|
||||
|
||||
> [!IMPORTANT]
|
||||
> Some glove models support firmware upgrades from a Bluetooth Serial firmware
|
||||
> to a BLE-compatible firmware version. For more information, refer to the
|
||||
> [relevant documentation here](https://senseglove.gitlab.io/SenseGloveDocs/nova-2.html?highlight=firmware#updating-your-nova-2-0-firmware),
|
||||
> as this topic is beyond the scope of this handbook.
|
||||
@@ -1,10 +0,0 @@
|
||||
# SenseCom on Android (Bluetooth Serial)
|
||||
|
||||
Unlike PCVR-mode on Windows or Linux, there's no separate SenseCom application available for Standalone-mode on Android; instead, the communication functionality is integrated into your application.
|
||||
|
||||
As a result, you need to pair your desired gloves through your operating system's Bluetooth settings before launching any applications that rely on [the SenseGlove Unreal Engine Plugin](https://www.fab.com/listings/62bcdd2a-0bb1-4f34-b7b8-c5e7c9313099). These instructions vary depending on the vendor and model of your Head-Mounted Display device. Please refer to the official documentation for detailed instructions:
|
||||
|
||||
- [Meta Quest: Connect a compatible Bluetooth device to Meta Quest headsets](https://www.meta.com/en-gb/help/quest/3263186127339632/)
|
||||
- [HTC VIVE: Pairing Bluetooth devices](https://www.vive.com/eu/support/vive-xr/category_howto/pairing-bluetooth-devices.html)
|
||||
|
||||
If you are using a different kind of HMD, ensure you consult the vendor-specific instructions to properly pair your gloves with your HMD of choice in Standalone-mode.
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+2
-10
@@ -1,10 +1,10 @@
|
||||
# SenseCom on GNU/Linux (Bluetooth Serial)
|
||||
# SenseCom on GNU/Linux
|
||||
|
||||
Follow these steps to quickly set up and run SenseCom on GNU/Linux:
|
||||
|
||||
1. First, obtain the SenseCom binaries from its [GitHub repository](https://github.com/Adjuvo/SenseCom).
|
||||
|
||||

|
||||

|
||||
|
||||
2. Extract the SenseCom `.zip` file to a location on your computer.
|
||||
|
||||
@@ -85,14 +85,6 @@ Loading in SingleInstance mode
|
||||
|
||||

|
||||
|
||||
> [!IMPORTANT]
|
||||
> If you are using SenseCom `v1.8.x+` and it fails to recognize your gloves with
|
||||
> a Bluetooth Serial firmware, it may be because the `Legacy Connections` option
|
||||
> is disabled, which is the default. Enabling this option should allow SenseCom
|
||||
> to discover and connect to your glove.
|
||||
>
|
||||
> 
|
||||
|
||||
> [!NOTE]
|
||||
> For more detailed information and troubleshooting, consult the
|
||||
> [SenseCom documentation page on SGDocs](https://senseglove.gitlab.io/SenseGloveDocs/sensecom/overview.html),
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Connect to Nova gloves using Blueman Bluetooth Manager (Bluetooth Serial)
|
||||
# Connect to Nova gloves using Blueman Bluetooth Manager
|
||||
|
||||
Follow these steps to pair a Nova glove with your PC on GNU/Linux usng the Blueman Bluetooth Manager:
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
Regular → Executable
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Connect to Nova gloves using Command-line (Bluetooth Serial)
|
||||
# Connect to Nova gloves using Command-line
|
||||
|
||||
Follow these steps to pair a Nova glove to your PC on GNU/Linux usng command-line and Bluez:
|
||||
|
||||
Regular → Executable
Regular → Executable
Regular → Executable
+4
-12
@@ -1,10 +1,10 @@
|
||||
# SenseCom on Microsoft Windows (Bluetooth Serial)
|
||||
# SenseCom on Microsoft Windows
|
||||
|
||||
Follow these steps to quickly set up and run SenseCom on Microsoft Windows:
|
||||
|
||||
1. First, obtain the SenseCom binaries from its [GitHub repository](https://github.com/Adjuvo/SenseCom).
|
||||
|
||||

|
||||

|
||||
|
||||
2. Extract the SenseCom `.zip` file to a location on your computer after downloading it.
|
||||
|
||||
@@ -38,7 +38,7 @@ Follow these steps to quickly set up and run SenseCom on Microsoft Windows:
|
||||
|
||||

|
||||
|
||||
12. After successfully paring your glove, it's time to run SenseCom. Navigate to the folder where you extracted SenseCom and go to `/path/to/extracted/SenseCom/directory/Win/SenseCom_Win_Latest`, and then run the executable `SenseCom.exe`.
|
||||
12. After successfully paring your glove, it's time to run SenseCom. Navigate to the folder where you extracted SenseCom and go to to `/path/to/extracted/SenseCom/directory/Win/SenseCom_Win_Latest`.
|
||||
|
||||

|
||||
|
||||
@@ -51,17 +51,9 @@ Follow these steps to quickly set up and run SenseCom on Microsoft Windows:
|
||||
|
||||

|
||||
|
||||
> [!IMPORTANT]
|
||||
> If you are using SenseCom `v1.8.x+` and it fails to recognize your gloves with
|
||||
> a Bluetooth Serial firmware, it may be because the `Legacy Connections` option
|
||||
> is disabled, which is the default. Enabling this option should allow SenseCom
|
||||
> to discover and connect to your glove.
|
||||
>
|
||||
> 
|
||||
|
||||
> [!NOTE]
|
||||
> For more detailed information and troubleshooting, consult the
|
||||
> [SenseCom documentation page on SGDocs](https://senseglove.gitlab.io/SenseGloveDocs/sensecom/overview.html),
|
||||
> please.
|
||||
|
||||
14. At this stage, SenseCom is ready and you should be able to connect to and communicate with SenseGlove devices from inside your Unreal Engine applications.
|
||||
14. At this stage, SenseCom is ready and you should be able to connect to and communicate with SenseGlove devices from inside your Unreal Engine applications.
|
||||
Regular → Executable
@@ -1,34 +0,0 @@
|
||||
# SGBLE and SGBLExx Rust Dependency Licenses
|
||||
|
||||
SGBLE and SGBLExx, components of the SenseGlove SDK, are built using the Rust programming language. These libraries rely on a variety of open-source Rust crates. To ensure commercial developers can use our SDK without licensing concerns, we strictly rely on crates with **permissive licenses at runtime**.
|
||||
|
||||
Some dependencies, like `r-efi`, are dual-licensed and allow permissive use. The **only copyleft tool** used is `cbindgen`, which is solely a **build-time dependency**. It is employed to automatically generate C FFI bindings for SGBLE, which is implemented in pure Rust. Since `cbindgen` is not required at runtime and acts more like a transpiler (source-to-source compiler), it does **not introduce any licensing risks** for commercial applications.
|
||||
|
||||
Below is a comprehensive list of all third-party crates and their corresponding licenses used in SGBLE and SGBLExx:
|
||||
|
||||
```
|
||||
(MIT OR Apache-2.0) AND OFL-1.1 AND Ubuntu-font-1.0 (1): epaint_default_fonts
|
||||
(MIT OR Apache-2.0) AND Unicode-3.0 (1): unicode-ident
|
||||
0BSD OR Apache-2.0 OR MIT (1): adler2
|
||||
Apache-2.0 (15): ab_glyph, ab_glyph_rasterizer, accesskit_winit, codespan-reporting, dpi, gethostname, gl_generator, glutin, glutin_egl_sys, glutin_glx_sys, glutin_wgl_sys, khronos_api, owned_ttf_parser, spirv, winit
|
||||
Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (7): linux-raw-sys, linux-raw-sys, rustix, rustix, wasi, wasi, wit-bindgen-rt
|
||||
Apache-2.0 OR BSD-2-Clause OR MIT (4): zerocopy, zerocopy, zerocopy-derive, zerocopy-derive
|
||||
Apache-2.0 OR BSD-3-Clause OR MIT (3): btleplug, num_enum, num_enum_derive
|
||||
Apache-2.0 OR BSL-1.0 (1): ryu
|
||||
Apache-2.0 OR LGPL-2.1-or-later OR MIT (1): r-efi
|
||||
Apache-2.0 OR MIT (286): accesskit, accesskit_atspi_common, accesskit_consumer, accesskit_macos, accesskit_unix, accesskit_windows, addr2line, ahash, android-activity, android_log-sys, android_logger, android_system_properties, anstream, anstyle, anstyle-parse, anstyle-query, anstyle-wincon, arboard, arrayvec, as-raw-xcb-connection, ash, async-broadcast, async-channel, async-executor, async-fs, async-io, async-lock, async-process, async-recursion, async-signal, async-task, async-trait, atomic-waker, atspi, atspi-common, atspi-connection, atspi-proxies, autocfg, backtrace, bit-set, bit-vec, bitflags, bitflags, block-buffer, blocking, bluez-async, bluez-generated, bumpalo, cc, cesu8, cfg-if, cgl, clap, clap_builder, clap_lex, colorchoice, concurrent-queue, core-foundation, core-foundation, core-foundation-sys, core-graphics, core-graphics-types, cpufeatures, crc32fast, crossbeam-utils, crypto-common, ctor, ctor-proc-macro, dbus, dbus-tokio, digest, displaydoc, document-features, downcast-rs, dtor, dtor-proc-macro, ecolor, eframe, egui, egui-wgpu, egui-winit, egui_glow, either, emath, enumflags2, enumflags2_derive, env_filter, env_logger, epaint, equivalent, errno, event-listener, event-listener-strategy, fastrand, fdeflate, flate2, foreign-types, foreign-types-macros, foreign-types-shared, form_urlencoded, futures, futures-channel, futures-core, futures-executor, futures-io, futures-lite, futures-macro, futures-sink, futures-task, futures-util, getrandom, getrandom, gimli, gpu-alloc, gpu-alloc-types, gpu-descriptor, gpu-descriptor-types, hashbrown, heck, heck, hermit-abi, hermit-abi, hex, home, humantime, idna, idna_adapter, image, immutable-chunkmap, indexmap, is_terminal_polyfill, itertools, itoa, jni, jni, jni-sys, jobserver, jpeg-decoder, js-sys, khronos-egl, lazy_static, libc, libdbus-sys, litrs, lock_api, log, memmap2, metal, naga, ndk, ndk-context, ndk-sys, ndk-sys, nohash-hasher, num-traits, object, once_cell, ordered-stream, parking, parking_lot, parking_lot_core, paste, percent-encoding, pin-project, pin-project-internal, pin-project-lite, pin-utils, piper, pkg-config, png, polling, ppv-lite86, pretty_env_logger, proc-macro-crate, proc-macro2, profiling, quote, rand, rand, rand_chacha, rand_chacha, rand_core, rand_core, regex, regex-automata, regex-syntax, renderdoc-sys, rustc-demangle, rustc-hash, rustversion, scoped-tls, scopeguard, serde, serde_derive, serde_json, serde_repr, serde_spanned, sha1, shlex, signal-hook-registry, smallvec, smol_str, socket2, stable_deref_trait, static_assertions, syn, tempfile, thiserror, thiserror, thiserror-impl, thiserror-impl, thread_local, toml, toml_datetime, toml_edit, ttf-parser, type-map, typenum, unicode-segmentation, unicode-width, unicode-xid, url, utf16_iter, utf8_iter, utf8parse, uuid, version_check, wasm-bindgen, wasm-bindgen-backend, wasm-bindgen-futures, wasm-bindgen-macro, wasm-bindgen-macro-support, wasm-bindgen-shared, web-sys, web-time, webbrowser, weezl, wgpu, wgpu-core, wgpu-hal, wgpu-types, winapi, winapi-i686-pc-windows-gnu, winapi-x86_64-pc-windows-gnu, windows, windows, windows-core, windows-core, windows-implement, windows-implement, windows-interface, windows-interface, windows-result, windows-result, windows-strings, windows-sys, windows-sys, windows-sys, windows-targets, windows-targets, windows-targets, windows_aarch64_gnullvm, windows_aarch64_gnullvm, windows_aarch64_gnullvm, windows_aarch64_msvc, windows_aarch64_msvc, windows_aarch64_msvc, windows_i686_gnu, windows_i686_gnu, windows_i686_gnu, windows_i686_gnullvm, windows_i686_msvc, windows_i686_msvc, windows_i686_msvc, windows_x86_64_gnu, windows_x86_64_gnu, windows_x86_64_gnu, windows_x86_64_gnullvm, windows_x86_64_gnullvm, windows_x86_64_gnullvm, windows_x86_64_msvc, windows_x86_64_msvc, windows_x86_64_msvc, write16, x11rb, x11rb-protocol
|
||||
Apache-2.0 OR MIT OR Zlib (12): bytemuck, bytemuck_derive, cursor-icon, glow, miniz_oxide, objc2-app-kit, objc2-core-bluetooth, objc2-core-foundation, objc2-core-graphics, objc2-io-surface, raw-window-handle, xkeysym
|
||||
BSD-2-Clause (1): arrayref
|
||||
BSD-3-Clause (3): jni-utils, tiny-skia, tiny-skia-path
|
||||
BSL-1.0 (2): clipboard-win, error-code
|
||||
CC0-1.0 (1): hexf-parse
|
||||
ISC (1): libloading
|
||||
MIT (91): android-properties, block, block2, block2, bytes, calloop, calloop-wayland-source, cfg_aliases, combine, dashmap, dispatch, dlib, endi, generic-array, glutin-winit, is-terminal, libredox, malloc_buf, memoffset, mio, nix, objc, objc-sys, objc2, objc2, objc2-app-kit, objc2-cloud-kit, objc2-contacts, objc2-core-data, objc2-core-image, objc2-core-location, objc2-encode, objc2-foundation, objc2-foundation, objc2-link-presentation, objc2-metal, objc2-quartz-core, objc2-symbols, objc2-ui-kit, objc2-uniform-type-identifiers, objc2-user-notifications, orbclient, ordered-float, quick-xml, quick-xml, redox_syscall, redox_syscall, sctk-adwaita, serde-xml-rs, simd-adler32, slab, smithay-client-toolkit, smithay-clipboard, strict-num, strsim, strum, strum_macros, synstructure, tiff, tokio, tokio-macros, tokio-stream, tokio-util, tracing, tracing-attributes, tracing-core, uds_windows, wayland-backend, wayland-client, wayland-csd-frame, wayland-cursor, wayland-protocols, wayland-protocols-plasma, wayland-protocols-wlr, wayland-scanner, wayland-sys, winnow, x11-dl, xcursor, xdg-home, xkbcommon-dl, xml-rs, zbus, zbus-lockstep, zbus-lockstep-macros, zbus_macros, zbus_names, zbus_xml, zvariant, zvariant_derive, zvariant_utils
|
||||
MIT OR Unlicense (7): aho-corasick, byteorder-lite, memchr, same-file, termcolor, walkdir, winapi-util
|
||||
MPL-2.0 (1): cbindgen
|
||||
N/A (2): sgble, sgblueman
|
||||
Unicode-3.0 (19): icu_collections, icu_locid, icu_locid_transform, icu_locid_transform_data, icu_normalizer, icu_normalizer_data, icu_properties, icu_properties_data, icu_provider, icu_provider_macros, litemap, tinystr, writeable, yoke, yoke-derive, zerofrom, zerofrom-derive, zerovec, zerovec-derive
|
||||
Zlib (2): foldhash, slotmap
|
||||
```
|
||||
|
||||
For detailed terms of use, please refer to the license files in each project's upstream repository.
|
||||
@@ -5,7 +5,6 @@ Please note that while the SenseGlove Unreal Engine Plugin is made available und
|
||||
The following third-party software are used and shipped with the SenseGlove Unreal Engine Plugin:
|
||||
|
||||
- [The SenseGlove SDK (a.k.a. SenseGlove Backend Libraries, or SenseGlove Core Libraries)](senseglove-sdk.md)
|
||||
- [SGBLE and SGBLExx Rust Dependencies](sgble-sgblexx-rust-dependencies.md)
|
||||
- [The Boost C++ Libraries](boost-cpp-libraries.md)
|
||||
- [The Serial Communication Library](serial-communication-library.md)
|
||||
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
# Third-Party Tutorials: Optimizing Your Project for Higher FPS
|
||||
|
||||
## Optimizing Unreal Engine VR Projects for Higher Framerates (Meta Quest, HTC VIVE, FFR, ETFR, NVIDIA DLSS, AMD FSR, and Intel XeSS Tips Included!)
|
||||
|
||||
This beginner-friendly tutorial, covers how to significantly boost the performance of your Unreal Engine VR projects, whether you're building for standalone (mobile) or PCVR (desktop) on devices such as Meta Quest, HTC VIVE, Varjo, or Valve Index.
|
||||
|
||||
It covers step-by-step how to:
|
||||
|
||||
- Convert a regular project into a VR-ready experience.
|
||||
- Optimize for both standalone (Android) and PCVR (Windows) platforms.
|
||||
- Tweak key rendering, lighting, and texture settings for smoother gameplay.
|
||||
- Configure Meta XR and HTC VIVE OpenXR plugins to fine-tune settings for the best performance possible.
|
||||
- Utilize and fine-tune engine scalability settings.
|
||||
- Explore powerful optimization features like DLSS, FSR, XeSS, and Foveated Rendering
|
||||
|
||||
Even if you’re new to VR development, this guide breaks it down with visuals, clear examples, and actionable tips to take your framerate from sluggish to silky smooth.
|
||||
|
||||
<div style="margin: 0 auto; width: 560px;">
|
||||
<iframe width="560" height="315" src="https://www.youtube.com/embed/67CZqMrAOns" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
@@ -11,16 +11,10 @@ This section covers the basics of the SenseGlove Unreal Engine Plugin:
|
||||
- [Via Microsoft Azure DevOps Repositories](../getting-started/installation/microsoft-azure-devops-repositories.md)
|
||||
- [Enabling and Verifying the Plugin Version](../getting-started/plugin-verify-version-enable/)
|
||||
- [SenseCom](../getting-started/sensecom/)
|
||||
- [Bluetooth Low Energy](../getting-started/sensecom/bluetooth-low-energy/)
|
||||
- [SenseCom on Android](../getting-started/sensecom/bluetooth-low-energy/android.md)
|
||||
- [SenseCom on GNU/Linux](../getting-started/sensecom/bluetooth-low-energy/gnu-linux.md)
|
||||
- [SenseCom on Microsoft Windows](../getting-started/sensecom/bluetooth-low-energy/microsoft-windows.md)
|
||||
- [Bluetooth Serial](../getting-started/sensecom/bluetooth-serial/)
|
||||
- [SenseCom on Android](../getting-started/sensecom/bluetooth-serial/android.md)
|
||||
- [SenseCom on GNU/Linux](../getting-started/sensecom/bluetooth-serial/gnu-linux/)
|
||||
- [Connect to Nova gloves using Blueman Bluetooth Manager](../getting-started/sensecom/bluetooth-serial/gnu-linux/blueman-bluetooth-manager.md)
|
||||
- [Connect to Nova gloves using Command-line](../getting-started/sensecom/bluetooth-serial/gnu-linux/command-line.md)
|
||||
- [SenseCom on Microsoft Windows](../getting-started/sensecom/bluetooth-serial/microsoft-windows.md)
|
||||
- [SenseCom on GNU/Linux](../getting-started/sensecom/gnu-linux/)
|
||||
- [Connect to Nova gloves using Blueman Bluetooth Manager](../getting-started/sensecom/gnu-linux/blueman-bluetooth-manager.md)
|
||||
- [Connect to Nova gloves using Command-line](../getting-started/sensecom/gnu-linux/command-line.md)
|
||||
- [SenseCom on Microsoft Windows](../getting-started/sensecom/microsoft-windows.md)
|
||||
- [Enabling XR_EXT_hand_tracking on VR Headsets](../getting-started/enabling-xr-ext-hand-tracking-vr-headsets/)
|
||||
- [PCVR Mode](../getting-started/enabling-xr-ext-hand-tracking-vr-headsets/pcvr-mode/)
|
||||
- [Standalone Mode](../getting-started/enabling-xr-ext-hand-tracking-vr-headsets/standalone-mode/)
|
||||
@@ -68,7 +62,6 @@ Toipcs that do not fall under any specific category:
|
||||
- [Third-Party Tutorials](../misc/android-standalone-deployment/third-party-tutorials/)
|
||||
- [Upgrade Guide](../misc/upgrade-guide/)
|
||||
- [Optimizing for Higher FPS](../misc/optimize-higher-fps/)
|
||||
- [Third-Party Tutorials](../misc/optimize-higher-fps/third-party-tutorials/)
|
||||
|
||||
## 🛠️ Advanced Topics
|
||||
|
||||
@@ -100,13 +93,3 @@ The appendix contains various extra useful information:
|
||||
- [Changelog](../appendix/changelog.md)
|
||||
- [Directory Structure](../appendix/directory-structure.md)
|
||||
- [Extra Resources](../appendix/extra-resources.md)
|
||||
|
||||
# 📜 License
|
||||
|
||||
- [SenseGlove Unreal Engine Plugin License](../license/senseglove-unreal-engine-plugin.md)
|
||||
- [SenseGlove Unreal Engine Handbook License](../license/senseglove-unreal-engine-handbook.md)
|
||||
- [Third-Party Licenses](../license/third-party.md)
|
||||
- [SenseGlove SDK License](../license/senseglove-sdk.md)
|
||||
- [SGBLE and SGBLExx Rust Dependencies Licenses](../license/sgble-sgblexx-rust-dependencies.md)
|
||||
- [Boost C++ Libraries License](../license/boost-cpp-libraries.md)
|
||||
- [Serial Communication Library License](../license/serial-communication-library.md)
|
||||
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
+10
-44
@@ -42,10 +42,10 @@ Deploy:
|
||||
PasswordEnvVar: SGUM_PACKAGER_REPOSITORY_PASSWORD
|
||||
|
||||
Branches:
|
||||
- "5.6"
|
||||
- "5.5"
|
||||
- "5.4"
|
||||
- "5.3"
|
||||
- "5.2"
|
||||
|
||||
Exclusions:
|
||||
- .git
|
||||
@@ -179,53 +179,19 @@ Rocket:
|
||||
|
||||
UPluginFile: SenseGlove.uplugin
|
||||
|
||||
PackageDirectory:
|
||||
Linux: /tmp/SenseGlove-Unreal/Rocket
|
||||
Windows: "%TEMP%\\SenseGlove-Unreal\\Rocket"
|
||||
PackageDirectory: "%TEMP%\\SenseGlove-Unreal\\Rocket"
|
||||
|
||||
EnginePaths:
|
||||
|
||||
- Branch: "5.6"
|
||||
Path:
|
||||
Linux: "/opt/UE56"
|
||||
Windows: "C:\\OPT\\UE_5.6"
|
||||
|
||||
- Branch: "5.5"
|
||||
Path:
|
||||
Linux: "/opt/UE55"
|
||||
Windows: "C:\\OPT\\UE_5.5"
|
||||
|
||||
- Branch: "5.4"
|
||||
Path:
|
||||
Linux: "/opt/UE54"
|
||||
Windows: "C:\\OPT\\UE_5.4"
|
||||
|
||||
- Branch: "5.3"
|
||||
Path:
|
||||
Linux: "/opt/UE53"
|
||||
Windows: "C:\\OPT\\UE_5.3"
|
||||
- "5.5": "C:\\OPT\\UE_5.5"
|
||||
- "5.4": "C:\\OPT\\UE_5.4"
|
||||
- "5.3": "C:\\OPT\\UE_5.3"
|
||||
- "5.2": "C:\\OPT\\UE_5.2"
|
||||
|
||||
NDKPaths:
|
||||
|
||||
- Branch: "5.6"
|
||||
Path:
|
||||
Linux: "/opt/android/sdk/ndk/25.1.8937393"
|
||||
Windows: "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
|
||||
- Branch: "5.5"
|
||||
Path:
|
||||
Linux: "/opt/android/sdk/ndk/25.1.8937393"
|
||||
Windows: "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
|
||||
- Branch: "5.4"
|
||||
Path:
|
||||
Linux: "/opt/android/sdk/ndk/25.1.8937393"
|
||||
Windows: "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
|
||||
- Branch: "5.3"
|
||||
Path:
|
||||
Linux: "/opt/android/sdk/ndk/25.1.8937393"
|
||||
Windows: "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
- "5.5": "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
- "5.4": "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
- "5.3": "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
- "5.2": "%LOCALAPPDATA%\\Android\\Sdk\\ndk\\25.1.8937393"
|
||||
|
||||
|
||||
Rsync:
|
||||
|
||||
+2
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.6.2",
|
||||
"VersionName": "2.4.2",
|
||||
"FriendlyName": "SenseGlove",
|
||||
"Description": "Integrating the SenseGlove haptic controller into Unreal Engine",
|
||||
"Category": "Virtual Reality",
|
||||
@@ -10,6 +10,7 @@
|
||||
"DocsURL": "https://unreal.docs.senseglove.com/",
|
||||
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/5e1d408f517b4966a269ec1035de0b9e",
|
||||
"SupportURL": "https://www.senseglove.com/support/",
|
||||
"EngineVersion": "5.2.0",
|
||||
"CanContainContent": true,
|
||||
"IsBetaVersion": false,
|
||||
"IsExperimentalVersion": false,
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
|
||||
#include "SenseGlove/Animation/SGVirtualHandAnimInstanceProxy.h"
|
||||
|
||||
#include "Animation/AnimInstance.h"
|
||||
#include "Animation/Skeleton.h"
|
||||
#include "BoneContainer.h"
|
||||
#include "BoneControllers/AnimNode_ModifyBone.h"
|
||||
|
||||
@@ -181,7 +181,6 @@ public:
|
||||
bool IsGloveConnected() const;
|
||||
USGHapticGlove* GetConnectedGlove() const;
|
||||
|
||||
UE_DEPRECATED(5.5, "Deprecated by UE 5.5 in favor of GetMotionControllerState and GetHandTrackingState")
|
||||
bool GetMotionControllerData(FXRMotionControllerData& OutMotionControllerData);
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
|
||||
|
||||
@@ -165,7 +165,6 @@ protected:
|
||||
FActorComponentTickFunction* ThisTickFunction);
|
||||
|
||||
public:
|
||||
UE_DEPRECATED(5.5, "Deprecated by UE 5.5 in favor of GetMotionControllerState and GetHandTrackingState")
|
||||
bool GetMotionControllerData(FXRMotionControllerData& OutMotionControllerData);
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
|
||||
|
||||
@@ -137,7 +137,7 @@ void USGAndroidPermissions::OnPermissionsGranted(const TArray<FString>& Permissi
|
||||
return;
|
||||
}
|
||||
|
||||
for (int32 i = 0; i < Permissions.Num(); ++i)
|
||||
for (int32 i = 0; i < Permissions.Num(); i++)
|
||||
{
|
||||
if (GrantResults[i])
|
||||
{
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
int32 FSGConnectJNI::Initialize()
|
||||
{
|
||||
int32 Result = -1000;
|
||||
int32 Result = -999999;
|
||||
|
||||
#if PLATFORM_ANDROID
|
||||
static constexpr char SGCONNECT_JAVA_CLASS_NAME[] = "com.senseglove.sgconnect.SGConnect";
|
||||
@@ -66,7 +66,7 @@ int32 FSGConnectJNI::Initialize()
|
||||
if (!Env)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI environmnet!");
|
||||
return -1001;
|
||||
return -1999999;
|
||||
}
|
||||
FSGIC_JNIEnv_Ptr InEnvContainer{Env};
|
||||
|
||||
@@ -77,7 +77,7 @@ int32 FSGConnectJNI::Initialize()
|
||||
if (Env->IsSameObject(Class, nullptr))
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android Java class!");
|
||||
return -1002;
|
||||
return -2999999;
|
||||
}
|
||||
Class = (jclass)Env->NewGlobalRef(Class);
|
||||
FSGIC_jclass InClassContainer{Class};
|
||||
@@ -89,7 +89,7 @@ int32 FSGConnectJNI::Initialize()
|
||||
if (!InitMethodID)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI method 'Init'!");
|
||||
return -1003;
|
||||
return -3999999;
|
||||
}
|
||||
FSGIC_jmethodID InInitMethodIDContainer{InitMethodID};
|
||||
|
||||
@@ -100,7 +100,7 @@ int32 FSGConnectJNI::Initialize()
|
||||
if (!DisposeMethodID)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI method 'Dispose'!");
|
||||
return -1004;
|
||||
return -4999999;
|
||||
}
|
||||
FSGIC_jmethodID InDisposeMethodIDContainer{DisposeMethodID};
|
||||
|
||||
@@ -111,7 +111,7 @@ int32 FSGConnectJNI::Initialize()
|
||||
if (!GetLibraryVersionMethodID)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI method 'GetLibraryVersion'!");
|
||||
return -1005;
|
||||
return -5999999;
|
||||
}
|
||||
FSGIC_jmethodID InGetLibraryVersionMethodIDContainer{GetLibraryVersionMethodID};
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
int32 FSGCoreJNI::Initialize()
|
||||
{
|
||||
int32 Result = -1000;
|
||||
int32 Result = -999999;
|
||||
|
||||
#if PLATFORM_ANDROID
|
||||
static constexpr char SGCONNECT_JAVA_CLASS_NAME[] = "com.senseglove.sgconnect.SGConnect";
|
||||
@@ -66,7 +66,7 @@ int32 FSGCoreJNI::Initialize()
|
||||
if (!Env)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI environmnet!");
|
||||
return -1001;
|
||||
return -1999999;
|
||||
}
|
||||
FSGIC_JNIEnv_Ptr InEnvContainer{Env};
|
||||
|
||||
@@ -77,7 +77,7 @@ int32 FSGCoreJNI::Initialize()
|
||||
if (Env->IsSameObject(Class, nullptr))
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android Java class!");
|
||||
return -1002;
|
||||
return -2999999;
|
||||
}
|
||||
Class = (jclass)Env->NewGlobalRef(Class);
|
||||
FSGIC_jclass InClassContainer{Class};
|
||||
@@ -89,7 +89,7 @@ int32 FSGCoreJNI::Initialize()
|
||||
if (!ActiveDevicesMethodID)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI method 'ActiveDevices'!");
|
||||
return -1003;
|
||||
return -3999999;
|
||||
}
|
||||
FSGIC_jmethodID InActiveDevicesMethodIDContainer{ActiveDevicesMethodID};
|
||||
|
||||
@@ -100,7 +100,7 @@ int32 FSGCoreJNI::Initialize()
|
||||
if (!GetDeviceStringMethodID)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI method 'GetDeviceString'!");
|
||||
return -1004;
|
||||
return -4999999;
|
||||
}
|
||||
FSGIC_jmethodID InGetDeviceStringMethodIDContainer{GetDeviceStringMethodID};
|
||||
|
||||
@@ -111,7 +111,7 @@ int32 FSGCoreJNI::Initialize()
|
||||
if (!GetSensorStringMethodID)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI method 'GetSensorString'!");
|
||||
return -1005;
|
||||
return -5999999;
|
||||
}
|
||||
FSGIC_jmethodID InGetSensorStringMethodIDContainer{GetSensorStringMethodID};
|
||||
|
||||
@@ -122,7 +122,7 @@ int32 FSGCoreJNI::Initialize()
|
||||
if (!WriteHapticsMethodID)
|
||||
{
|
||||
SGLOG_ERROR("FSGCoreJNI: failed to get the Android JNI method 'WriteHaptics'!");
|
||||
return -1006;
|
||||
return -6999999;
|
||||
}
|
||||
FSGIC_jmethodID InWriteHapticsMethodIDContainer{WriteHapticsMethodID};
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
#include "SGBackend/SGBackend.h"
|
||||
|
||||
#include "Engine/Engine.h"
|
||||
#include "Templates/Atomic.h"
|
||||
|
||||
#if PLATFORM_ANDROID
|
||||
#include "SGConnect/SGConnect.h"
|
||||
@@ -48,12 +47,6 @@
|
||||
|
||||
struct USGBackend::FImpl
|
||||
{
|
||||
/************************
|
||||
* Member variables
|
||||
************************/
|
||||
|
||||
TAtomic<bool> bInitialized;
|
||||
|
||||
/************************
|
||||
* Owner object
|
||||
************************/
|
||||
@@ -71,8 +64,8 @@ struct USGBackend::FImpl
|
||||
* Default copy constructor & copy assignment operator
|
||||
************************/
|
||||
|
||||
FImpl(const FImpl& Rhs) = delete;
|
||||
FImpl& operator=(const FImpl& Rhs) = delete;
|
||||
FImpl(const FImpl& Rhs) = default;
|
||||
FImpl& operator=(const FImpl& Rhs) = default;
|
||||
};
|
||||
|
||||
USGBackend* USGBackend::GetInstance()
|
||||
@@ -89,11 +82,7 @@ USGBackend* USGBackend::GetInstance()
|
||||
USGBackend::USGBackend()
|
||||
: Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{this}, PimplDeleter))
|
||||
{
|
||||
}
|
||||
|
||||
bool USGBackend::IsBackendInitialized() const
|
||||
{
|
||||
return Pimpl->bInitialized;
|
||||
bBackendInitialized = false;
|
||||
}
|
||||
|
||||
bool USGBackend::InitializeBackend()
|
||||
@@ -104,18 +93,6 @@ bool USGBackend::InitializeBackend()
|
||||
const int32 Result = FSGConnect::Init();
|
||||
switch (Result)
|
||||
{
|
||||
case -103:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Invalid Java method ID!");
|
||||
return false;
|
||||
case -102:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Invalid Java class!");
|
||||
return false;
|
||||
case -101:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Invalid Java environment!");
|
||||
return false;
|
||||
case -100:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Generic Error! Note: you should never see this!");
|
||||
return false;
|
||||
case -3:
|
||||
SGLOG_ERROR("An Unexpected error occurred. Please try again.");
|
||||
return false;
|
||||
@@ -141,7 +118,7 @@ bool USGBackend::InitializeBackend()
|
||||
FSGDeviceList::Dispose();
|
||||
FSGDeviceList::Reinitialize();
|
||||
|
||||
Pimpl->bInitialized = true;
|
||||
bBackendInitialized = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -159,18 +136,6 @@ bool USGBackend::UninitializeBackend()
|
||||
const int32 Result = FSGConnect::Dispose();
|
||||
switch (Result)
|
||||
{
|
||||
case -103:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Invalid Java method ID!");
|
||||
return false;
|
||||
case -102:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Invalid Java class!");
|
||||
return false;
|
||||
case -101:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Invalid Java environment!");
|
||||
return false;
|
||||
case -100:
|
||||
SGLOG_ERROR("Android JNI-specific Error: Generic Error! Note: you should never see this!");
|
||||
return false;
|
||||
case -3:
|
||||
SGLOG_ERROR("An Unexpected error occurred. Please try again.");
|
||||
return false;
|
||||
@@ -192,7 +157,7 @@ bool USGBackend::UninitializeBackend()
|
||||
}
|
||||
#endif /* PLATFORM_ANDROID */
|
||||
|
||||
Pimpl->bInitialized = false;
|
||||
bBackendInitialized = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -240,14 +205,13 @@ void USGBackend::Deinitialize()
|
||||
SGLOG_ERROR("Failed to uninitialize the bridge to the SenseGlove Backend!")
|
||||
}
|
||||
|
||||
(void) Pimpl.Release();
|
||||
(void)Pimpl.Release();
|
||||
|
||||
SGLOG("The SenseGlove Backend singleton has been successfully de-initialized!");
|
||||
}
|
||||
|
||||
USGBackend::FImpl::FImpl(USGBackend* InOwner)
|
||||
: bInitialized(false),
|
||||
Owner(InOwner)
|
||||
: Owner(InOwner)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,10 @@ class SENSEGLOVEBACKEND_API USGBackend : public UEngineSubsystem
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
private:
|
||||
UPROPERTY(Transient)
|
||||
bool bBackendInitialized;
|
||||
|
||||
public:
|
||||
static USGBackend* GetInstance();
|
||||
|
||||
@@ -67,7 +71,10 @@ private:
|
||||
USGBackend();
|
||||
|
||||
public:
|
||||
bool IsBackendInitialized() const;
|
||||
FORCEINLINE bool IsBackendInitialized() const
|
||||
{
|
||||
return bBackendInitialized;
|
||||
}
|
||||
|
||||
bool InitializeBackend();
|
||||
bool UninitializeBackend();
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class SenseGloveBuildHacks : ModuleRules
|
||||
@@ -54,18 +55,23 @@ public class SenseGloveBuildHacks : ModuleRules
|
||||
}
|
||||
);
|
||||
|
||||
PublicDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"SGConnectThirdPartyHeaders",
|
||||
}
|
||||
);
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"SenseGloveLog",
|
||||
}
|
||||
);
|
||||
|
||||
AddConnectHeaders();
|
||||
}
|
||||
|
||||
private void AddConnectHeaders()
|
||||
{
|
||||
string PluginRootDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, "..", ".."));
|
||||
string SourceDirectory = Path.GetFullPath(Path.Combine(PluginRootDirectory, "Source"));
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(SourceDirectory, "ThirdParty"));
|
||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||
|
||||
PrivateIncludePaths.Add(IncludePath);
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,9 @@
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class SenseGloveConnectImpl : ModuleRules
|
||||
@@ -54,15 +57,6 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
}
|
||||
);
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"SGBleThirdPartyLibs",
|
||||
"SGConnectThirdPartyLibs",
|
||||
"SGSerialThirdPartyLibs",
|
||||
}
|
||||
);
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
@@ -80,7 +74,258 @@ public class SenseGloveConnectImpl : ModuleRules
|
||||
}
|
||||
);
|
||||
|
||||
AddConnectLibrary(Target);
|
||||
AddSerialLibrary(Target);
|
||||
|
||||
PublicDefinitions.Add("SENSEGLOVE_BUILDING_CONNECT_IMPL_MODULE");
|
||||
PublicDefinitions.Add("SENSEGLOVE_UNREAL_ENGINE_PLUGIN");
|
||||
}
|
||||
|
||||
private void AddConnectLibrary(ReadOnlyTargetRules Target)
|
||||
{
|
||||
string PluginRootDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, "..", ".."));
|
||||
string SourceDirectory = Path.GetFullPath(Path.Combine(PluginRootDirectory, "Source"));
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(SourceDirectory, "ThirdParty"));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
string LibraryPathAnroidArm64 = "";
|
||||
string LibraryPathAnroidx64 = "";
|
||||
string LibraryName = "sgconnect";
|
||||
|
||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||
|
||||
if (bIsAndroid)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
||||
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPath, "arm64"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPath, "x64"));
|
||||
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
}
|
||||
else if (bIsLinux)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_5_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||
#elif UE_5_3_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22"));
|
||||
#elif UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||
}
|
||||
else if (bIsLinuxArm64)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_5_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||
#elif UE_5_3_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22"));
|
||||
#elif UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
||||
}
|
||||
else if (bIsWin64)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64"));
|
||||
switch (Target.WindowsPlatform.Compiler)
|
||||
{
|
||||
case WindowsCompiler.VisualStudio2022:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
|
||||
break;
|
||||
#if ! UE_5_4_OR_LATER
|
||||
case WindowsCompiler.VisualStudio2019:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
break;
|
||||
}
|
||||
|
||||
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Assert(false, "Unsupported platform!");
|
||||
}
|
||||
|
||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||
PrivateIncludePaths.Add(IncludePath);
|
||||
|
||||
if (bIsAndroid)
|
||||
{
|
||||
if (bIsDebugBuild)
|
||||
{
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, "debug"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, "debug"));
|
||||
}
|
||||
else
|
||||
{
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, "release"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, "release"));
|
||||
}
|
||||
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, LibraryName));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, LibraryName));
|
||||
|
||||
PublicAdditionalLibraries.Add(LibraryPathAnroidArm64);
|
||||
PublicAdditionalLibraries.Add(LibraryPathAnroidx64);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (bIsDebugBuild)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||
}
|
||||
else
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||
}
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||
PublicAdditionalLibraries.Add(LibraryPath);
|
||||
}
|
||||
}
|
||||
|
||||
private void AddSerialLibrary(ReadOnlyTargetRules Target)
|
||||
{
|
||||
string PluginRootDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, "..", ".."));
|
||||
string SourceDirectory = Path.GetFullPath(Path.Combine(PluginRootDirectory, "Source"));
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(SourceDirectory, "ThirdParty"));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
string LibraryPathAnroidArm64 = "";
|
||||
string LibraryPathAnroidx64 = "";
|
||||
string LibraryName = "serial";
|
||||
|
||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||
|
||||
if (bIsAndroid)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
||||
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPath, "arm64"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPath, "x64"));
|
||||
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
}
|
||||
else if (bIsLinux)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_5_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||
#elif UE_5_3_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22"));
|
||||
#elif UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||
}
|
||||
else if (bIsLinuxArm64)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_5_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||
#elif UE_5_3_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22"));
|
||||
#elif UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
||||
}
|
||||
else if (bIsWin64)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64"));
|
||||
switch (Target.WindowsPlatform.Compiler)
|
||||
{
|
||||
case WindowsCompiler.VisualStudio2022:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
|
||||
break;
|
||||
#if ! UE_5_4_OR_LATER
|
||||
case WindowsCompiler.VisualStudio2019:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
break;
|
||||
}
|
||||
|
||||
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Assert(false, "Unsupported platform!");
|
||||
}
|
||||
|
||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||
PrivateIncludePaths.Add(IncludePath);
|
||||
|
||||
if (bIsAndroid)
|
||||
{
|
||||
if (bIsDebugBuild)
|
||||
{
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, "debug"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, "debug"));
|
||||
}
|
||||
else
|
||||
{
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, "release"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, "release"));
|
||||
}
|
||||
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, LibraryName));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, LibraryName));
|
||||
|
||||
PublicAdditionalLibraries.Add(LibraryPathAnroidArm64);
|
||||
PublicAdditionalLibraries.Add(LibraryPathAnroidx64);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (bIsDebugBuild)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||
}
|
||||
else
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||
}
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||
PublicAdditionalLibraries.Add(LibraryPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -34,6 +34,9 @@
|
||||
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class SenseGloveCoreImpl : ModuleRules
|
||||
@@ -54,13 +57,6 @@ public class SenseGloveCoreImpl : ModuleRules
|
||||
}
|
||||
);
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"SGCoreThirdPartyLibs",
|
||||
}
|
||||
);
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
@@ -78,7 +74,133 @@ public class SenseGloveCoreImpl : ModuleRules
|
||||
}
|
||||
);
|
||||
|
||||
AddCoreLibrary(Target);
|
||||
|
||||
PublicDefinitions.Add("SENSEGLOVE_BUILDING_CORE_IMPL_MODULE");
|
||||
PublicDefinitions.Add("SENSEGLOVE_UNREAL_ENGINE_PLUGIN");
|
||||
}
|
||||
|
||||
private void AddCoreLibrary(ReadOnlyTargetRules Target)
|
||||
{
|
||||
string PluginRootDirectory = Path.GetFullPath(Path.Combine(ModuleDirectory, "..", ".."));
|
||||
string SourceDirectory = Path.GetFullPath(Path.Combine(PluginRootDirectory, "Source"));
|
||||
string ThirdPartyDirectory = Path.GetFullPath(Path.Combine(SourceDirectory, "ThirdParty"));
|
||||
string LibraryPath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "lib"));
|
||||
string LibraryPathAnroidArm64 = "";
|
||||
string LibraryPathAnroidx64 = "";
|
||||
string LibraryName = "sgcore";
|
||||
|
||||
bool bIsAndroid = Target.IsInPlatformGroup(UnrealPlatformGroup.Android);
|
||||
bool bIsLinux = Target.Platform == UnrealTargetPlatform.Linux;
|
||||
bool bIsLinuxArm64 = Target.Platform == UnrealTargetPlatform.LinuxArm64;
|
||||
bool bIsWin64 = Target.IsInPlatformGroup(UnrealPlatformGroup.Windows) &&
|
||||
Target.WindowsPlatform.Architecture == UnrealArch.X64;
|
||||
bool bIsDebugBuild = (Target.Configuration == UnrealTargetConfiguration.Debug);
|
||||
|
||||
if (bIsAndroid)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "android"));
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "r25b"));
|
||||
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPath, "arm64"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPath, "x64"));
|
||||
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
}
|
||||
else if (bIsLinux)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_5_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||
#elif UE_5_3_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22"));
|
||||
#elif UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "x86-64"));
|
||||
}
|
||||
else if (bIsLinuxArm64)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "linux"));
|
||||
LibraryName = string.Format("lib{0}.a", LibraryName);
|
||||
|
||||
#if UE_5_5_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v23"));
|
||||
#elif UE_5_3_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v22"));
|
||||
#elif UE_5_2_OR_LATER
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "v21"));
|
||||
#else
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
#endif
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "aarch64"));
|
||||
}
|
||||
else if (bIsWin64)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "win64"));
|
||||
switch (Target.WindowsPlatform.Compiler)
|
||||
{
|
||||
case WindowsCompiler.VisualStudio2022:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc143"));
|
||||
break;
|
||||
#if ! UE_5_4_OR_LATER
|
||||
case WindowsCompiler.VisualStudio2019:
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "msvc142"));
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
Debug.Assert(false, "Unsupported engine version or compiler!");
|
||||
break;
|
||||
}
|
||||
|
||||
LibraryName = string.Format("{0}.lib", LibraryName);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.Assert(false, "Unsupported platform!");
|
||||
}
|
||||
|
||||
string IncludePath = Path.GetFullPath(Path.Combine(ThirdPartyDirectory, "include"));
|
||||
PrivateIncludePaths.Add(IncludePath);
|
||||
|
||||
if (bIsAndroid)
|
||||
{
|
||||
if (bIsDebugBuild)
|
||||
{
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, "debug"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, "debug"));
|
||||
}
|
||||
else
|
||||
{
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, "release"));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, "release"));
|
||||
}
|
||||
|
||||
LibraryPathAnroidArm64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidArm64, LibraryName));
|
||||
LibraryPathAnroidx64 = Path.GetFullPath(Path.Combine(LibraryPathAnroidx64, LibraryName));
|
||||
|
||||
PublicAdditionalLibraries.Add(LibraryPathAnroidArm64);
|
||||
PublicAdditionalLibraries.Add(LibraryPathAnroidx64);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (bIsDebugBuild)
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "debug"));
|
||||
}
|
||||
else
|
||||
{
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, "release"));
|
||||
}
|
||||
|
||||
LibraryPath = Path.GetFullPath(Path.Combine(LibraryPath, LibraryName));
|
||||
PublicAdditionalLibraries.Add(LibraryPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -48,7 +48,6 @@ class UWorld;
|
||||
class SENSEGLOVEDEBUG_API FSGDebugVirtualHand final
|
||||
{
|
||||
public:
|
||||
UE_DEPRECATED(5.5, "Deprecated in favor of the variant that accepts FXRHandTrackingState")
|
||||
static void Draw(
|
||||
const UWorld* World,
|
||||
const FXRMotionControllerData& MotionControllerData,
|
||||
|
||||
-10
@@ -47,14 +47,4 @@ void USGDebugVirtualHandKismetLibrary::Draw_FXRMotionControllerData(
|
||||
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
||||
FSGDebugVirtualHand::Draw(WorldContextObject->GetWorld(), MotionControllerData, Settings);
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
}
|
||||
|
||||
void USGDebugVirtualHandKismetLibrary::Draw_FXRHandTrackingState(
|
||||
UObject* WorldContextObject,
|
||||
const FXRHandTrackingState& HandTrackingState,
|
||||
const FSGVirtualHandDebuggingSettings& Settings)
|
||||
{
|
||||
ensureAlwaysMsgf(WorldContextObject, TEXT("Invalid world context object!"));
|
||||
|
||||
FSGDebugVirtualHand::Draw(WorldContextObject->GetWorld(), HandTrackingState, Settings);
|
||||
}
|
||||
@@ -56,11 +56,4 @@ public:
|
||||
UObject* WorldContextObject,
|
||||
const FXRMotionControllerData& MotionControllerData,
|
||||
const FSGVirtualHandDebuggingSettings& Settings);
|
||||
|
||||
UFUNCTION(BlueprintCallable, DisplayName="Draw", Category="SenseGlove | Debug | Virtual Hand",
|
||||
meta=(WorldContext="WorldContextObject"))
|
||||
static void Draw_FXRHandTrackingState(
|
||||
UObject* WorldContextObject,
|
||||
const FXRHandTrackingState& HandTrackingState,
|
||||
const FSGVirtualHandDebuggingSettings& Settings);
|
||||
};
|
||||
@@ -118,20 +118,6 @@ bool UVirtualHandComponentKismetLibrary::GetMotionControllerData(
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
}
|
||||
|
||||
bool UVirtualHandComponentKismetLibrary::GetMotionControllerState(USGVirtualHandComponent* VirtualHandComponent,
|
||||
const EXRSpaceType XRSpaceType, const EXRControllerPoseType XRControllerPoseType,
|
||||
FXRMotionControllerState& OutMotionControllerState)
|
||||
{
|
||||
return VirtualHandComponent->GetMotionControllerState(
|
||||
XRSpaceType, XRControllerPoseType, OutMotionControllerState);
|
||||
}
|
||||
|
||||
bool UVirtualHandComponentKismetLibrary::GetHandTrackingState(USGVirtualHandComponent* VirtualHandComponent,
|
||||
const EXRSpaceType XRSpaceType, FXRHandTrackingState& OutHandTrackingState)
|
||||
{
|
||||
return VirtualHandComponent->GetHandTrackingState(XRSpaceType, OutHandTrackingState);
|
||||
}
|
||||
|
||||
const TArray<FName>& UVirtualHandComponentKismetLibrary::GetHandBoneNames(
|
||||
const USGVirtualHandComponent* VirtualHandComponent)
|
||||
{
|
||||
|
||||
@@ -96,21 +96,4 @@ bool UWristTrackerComponentKismetLibrary::GetMotionControllerData(
|
||||
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
||||
return WristTrackerComponent->GetMotionControllerData(OutMotionControllerData);
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
}
|
||||
|
||||
bool UWristTrackerComponentKismetLibrary::GetMotionControllerState(
|
||||
USGWristTrackerComponent* WristTrackerComponent,
|
||||
const EXRSpaceType XRSpaceType, const EXRControllerPoseType XRControllerPoseType,
|
||||
FXRMotionControllerState& OutMotionControllerState)
|
||||
{
|
||||
return WristTrackerComponent->GetMotionControllerState(
|
||||
XRSpaceType, XRControllerPoseType, OutMotionControllerState);
|
||||
}
|
||||
|
||||
bool UWristTrackerComponentKismetLibrary::GetHandTrackingState(
|
||||
USGWristTrackerComponent* WristTrackerComponent,
|
||||
const EXRSpaceType XRSpaceType, FXRHandTrackingState& OutHandTrackingState)
|
||||
{
|
||||
return WristTrackerComponent->GetHandTrackingState(
|
||||
XRSpaceType, OutHandTrackingState);
|
||||
}
|
||||
@@ -106,16 +106,6 @@ public:
|
||||
static bool GetMotionControllerData(UPARAM(ref) USGVirtualHandComponent* VirtualHandComponent,
|
||||
FXRMotionControllerData& OutMotionControllerData);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Components | Virtual Hand Component")
|
||||
static bool GetMotionControllerState(UPARAM(ref) USGVirtualHandComponent* VirtualHandComponent,
|
||||
EXRSpaceType XRSpaceType, EXRControllerPoseType XRControllerPoseType,
|
||||
FXRMotionControllerState& OutMotionControllerState);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Components | Virtual Hand Component")
|
||||
static bool GetHandTrackingState(UPARAM(ref) USGVirtualHandComponent* VirtualHandComponent,
|
||||
EXRSpaceType XRSpaceType,
|
||||
FXRHandTrackingState& OutHandTrackingState);
|
||||
|
||||
UFUNCTION(BlueprintPure, Category="SenseGlove | Components | Virtual Hand Component")
|
||||
static const TArray<FName>& GetHandBoneNames(const USGVirtualHandComponent* VirtualHandComponent);
|
||||
|
||||
|
||||
@@ -86,14 +86,4 @@ public:
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Components | Wrist Tracker Component")
|
||||
static bool GetMotionControllerData(UPARAM(ref) USGWristTrackerComponent* WristTrackerComponent,
|
||||
FXRMotionControllerData& OutMotionControllerData);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Components | Wrist Tracker Component")
|
||||
static bool GetMotionControllerState(UPARAM(ref) USGWristTrackerComponent* WristTrackerComponent,
|
||||
EXRSpaceType XRSpaceType, EXRControllerPoseType XRControllerPoseType,
|
||||
FXRMotionControllerState& OutMotionControllerState);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Components | Wrist Tracker Component")
|
||||
static bool GetHandTrackingState(UPARAM(ref) USGWristTrackerComponent* WristTrackerComponent,
|
||||
EXRSpaceType XRSpaceType,
|
||||
FXRHandTrackingState& OutHandTrackingState);
|
||||
};
|
||||
@@ -34,20 +34,15 @@
|
||||
|
||||
|
||||
#include "SGLog/SGLog.h"
|
||||
|
||||
#include "Containers/Map.h"
|
||||
#include "Logging/LogMacros.h"
|
||||
#include "Templates/Atomic.h"
|
||||
|
||||
DEFINE_LOG_CATEGORY(LogEditor)
|
||||
DEFINE_LOG_CATEGORY(LogGeneric)
|
||||
|
||||
struct FSGLogCore::FStaticImpl
|
||||
{
|
||||
/************************
|
||||
* Type definitions
|
||||
************************/
|
||||
|
||||
public:
|
||||
struct VerbosityMapper
|
||||
{
|
||||
FString Tag;
|
||||
@@ -56,56 +51,33 @@ struct FSGLogCore::FStaticImpl
|
||||
VerbosityMapper(const FString& InTag, const FColor& InColor);
|
||||
};
|
||||
|
||||
/************************
|
||||
* Member variables
|
||||
************************/
|
||||
|
||||
public:
|
||||
TMap<FSGLogCore::EVerbosity, VerbosityMapper> VerbosityMap;
|
||||
|
||||
TAtomic<bool> bInitialized;
|
||||
|
||||
/************************
|
||||
* Constructor / Destructor
|
||||
************************/
|
||||
bool bInitialized;
|
||||
|
||||
public:
|
||||
FStaticImpl();
|
||||
~FStaticImpl();
|
||||
};
|
||||
|
||||
struct FSGLogCore::FImpl
|
||||
{
|
||||
/************************
|
||||
* Member variables
|
||||
************************/
|
||||
|
||||
public:
|
||||
FSGLogCore::EVerbosity Verbosity;
|
||||
FSGLogCore::ECategory Category;
|
||||
FString File;
|
||||
FString Function;
|
||||
FString Line;
|
||||
|
||||
/************************
|
||||
* Constructor / Destructor
|
||||
************************/
|
||||
|
||||
FImpl();
|
||||
~FImpl();
|
||||
|
||||
/************************
|
||||
* Default copy constructor & copy assignment operator
|
||||
************************/
|
||||
|
||||
FImpl(const FImpl& Rhs) = default;
|
||||
FImpl& operator=(const FImpl& Rhs) = default;
|
||||
};
|
||||
|
||||
TUniquePtr<FSGLogCore::FStaticImpl, FSGLogCore::FStaticImplDeleter> FSGLogCore::SPimpl{
|
||||
new FStaticImpl{}, FStaticImplDeleter()
|
||||
};
|
||||
FSGLogCore::FStaticImplDeleter FSGLogCore::SPimplDeleter;
|
||||
std::unique_ptr<FSGLogCore::FStaticImpl, FSGLogCore::FStaticImplDeleter> FSGLogCore::SPimpl =
|
||||
std::unique_ptr<FSGLogCore::FStaticImpl, FSGLogCore::FStaticImplDeleter>(
|
||||
new FSGLogCore::FStaticImpl{}, FSGLogCore::SPimplDeleter);
|
||||
|
||||
FSGLogCore::FSGLogCore(const EVerbosity& Verbosity, const ECategory& Category, const std::string& File,
|
||||
const std::string& Function, const int32 Line)
|
||||
: Pimpl(TUniquePtr<FImpl, FImplDeleter>(new FImpl{}, PimplDeleter)),
|
||||
const std::string& Function, const int32 Line)
|
||||
: Pimpl(std::unique_ptr<FImpl, FImplDeleter>(new FImpl{}, PimplDeleter)),
|
||||
bAnyEntries(false)
|
||||
{
|
||||
#if defined ( SENSEGLOVE_LOGGING )
|
||||
@@ -113,14 +85,12 @@ FSGLogCore::FSGLogCore(const EVerbosity& Verbosity, const ECategory& Category, c
|
||||
{
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Fatal,
|
||||
FStaticImpl::VerbosityMapper(TEXT("FATAL"), FColor::White));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Error,
|
||||
FStaticImpl::VerbosityMapper(TEXT("ERROR"), FColor::Red));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Error, FStaticImpl::VerbosityMapper(TEXT("ERROR"), FColor::Red));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Warning,
|
||||
FStaticImpl::VerbosityMapper(TEXT("WARNING"), FColor::Yellow));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Display,
|
||||
FStaticImpl::VerbosityMapper(TEXT("DISPLAY"), FColor::Green));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Log,
|
||||
FStaticImpl::VerbosityMapper(TEXT("LOG"), FColor::Silver));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Log, FStaticImpl::VerbosityMapper(TEXT("LOG"), FColor::Silver));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::Verbose,
|
||||
FStaticImpl::VerbosityMapper(TEXT("VERBOSE"), FColor::Purple));
|
||||
SPimpl->VerbosityMap.Add(FSGLogCore::EVerbosity::VeryVerbose,
|
||||
@@ -157,46 +127,46 @@ FSGLogCore::~FSGLogCore()
|
||||
switch (Verbosity)
|
||||
{
|
||||
case EVerbosity::Display:
|
||||
{
|
||||
UE_LOG(LogGeneric, Display, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogGeneric, Display, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Error:
|
||||
{
|
||||
UE_LOG(LogGeneric, Error, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogGeneric, Error, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Fatal:
|
||||
{
|
||||
UE_LOG(LogGeneric, Fatal, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogGeneric, Fatal, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Log:
|
||||
{
|
||||
UE_LOG(LogGeneric, Log, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogGeneric, Log, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Verbose:
|
||||
{
|
||||
UE_LOG(LogGeneric, Verbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogGeneric, Verbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::VeryVerbose:
|
||||
{
|
||||
UE_LOG(LogGeneric, VeryVerbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogGeneric, VeryVerbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Warning:
|
||||
{
|
||||
UE_LOG(LogGeneric, Warning, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogGeneric, Warning, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -206,46 +176,46 @@ FSGLogCore::~FSGLogCore()
|
||||
switch (Verbosity)
|
||||
{
|
||||
case EVerbosity::Display:
|
||||
{
|
||||
UE_LOG(LogEditor, Display, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogEditor, Display, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Error:
|
||||
{
|
||||
UE_LOG(LogEditor, Error, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogEditor, Error, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Fatal:
|
||||
{
|
||||
UE_LOG(LogEditor, Fatal, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogEditor, Fatal, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Log:
|
||||
{
|
||||
UE_LOG(LogEditor, Log, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogEditor, Log, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Verbose:
|
||||
{
|
||||
UE_LOG(LogEditor, Verbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogEditor, Verbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::VeryVerbose:
|
||||
{
|
||||
UE_LOG(LogEditor, VeryVerbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogEditor, VeryVerbose, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
|
||||
case EVerbosity::Warning:
|
||||
{
|
||||
UE_LOG(LogEditor, Warning, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
{
|
||||
UE_LOG(LogEditor, Warning, TEXT("%s"), Message.GetCharArray().GetData());
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif /* defined ( SENSEGLOVE_LOGGING ) */
|
||||
@@ -256,10 +226,8 @@ FSGLogCore::FStaticImpl::FStaticImpl()
|
||||
{
|
||||
}
|
||||
|
||||
FSGLogCore::FStaticImpl::~FStaticImpl() = default;
|
||||
|
||||
FSGLogCore::FStaticImpl::VerbosityMapper::VerbosityMapper(const FString& InTag,
|
||||
const FColor& InColor)
|
||||
const FColor& InColor)
|
||||
: Tag(InTag),
|
||||
Color(InColor)
|
||||
{
|
||||
@@ -270,15 +238,7 @@ void FSGLogCore::FStaticImplDeleter::operator()(const FSGLogCore::FStaticImpl* P
|
||||
delete Pointer;
|
||||
}
|
||||
|
||||
FSGLogCore::FImpl::FImpl()
|
||||
: Verbosity(EVerbosity::Verbose),
|
||||
Category(ECategory::Generic)
|
||||
{
|
||||
}
|
||||
|
||||
FSGLogCore::FImpl::~FImpl() = default;
|
||||
|
||||
void FSGLogCore::FImplDeleter::operator()(const FSGLogCore::FImpl* Pointer) const
|
||||
{
|
||||
delete Pointer;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,9 +35,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <cstddef>
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
|
||||
#include "Containers/StringConv.h"
|
||||
#include "Containers/UnrealString.h"
|
||||
@@ -46,7 +47,6 @@
|
||||
#include "Math/Rotator.h"
|
||||
#include "Math/Transform.h"
|
||||
#include "Math/Vector.h"
|
||||
#include "Templates/SharedPointer.h"
|
||||
#include "Templates/UnrealTemplate.h"
|
||||
|
||||
DECLARE_LOG_CATEGORY_EXTERN(LogEditor, All, All);
|
||||
@@ -96,7 +96,7 @@ struct TFSGLogString<const bool>
|
||||
{
|
||||
static void Format(const bool Value, FString& OutString)
|
||||
{
|
||||
OutString = Value ? TEXT("True") : TEXT("False");
|
||||
OutString = FString::Printf(TEXT("%s"), (Value ? TEXT("True") : TEXT("False")));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -105,7 +105,7 @@ struct TFSGLogString<bool>
|
||||
{
|
||||
static void Format(const bool Value, FString& OutString)
|
||||
{
|
||||
OutString = Value ? TEXT("True") : TEXT("False");
|
||||
OutString = FString::Printf(TEXT("%s"), (Value ? TEXT("True") : TEXT("False")));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -114,7 +114,7 @@ struct TFSGLogString<const char[L]>
|
||||
{
|
||||
static void Format(const char* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(UTF8_TO_TCHAR(Value));
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -123,7 +123,7 @@ struct TFSGLogString<char[L]>
|
||||
{
|
||||
static void Format(const char* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(UTF8_TO_TCHAR(Value));
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -132,7 +132,7 @@ struct TFSGLogString<const char*>
|
||||
{
|
||||
static void Format(const char* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(UTF8_TO_TCHAR(Value));
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -141,52 +141,48 @@ struct TFSGLogString<char*>
|
||||
{
|
||||
static void Format(const char* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(UTF8_TO_TCHAR(Value));
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
template<std::size_t L>
|
||||
|
||||
template< std::size_t L>
|
||||
struct TFSGLogString<const char16_t[L]>
|
||||
{
|
||||
static void Format(const char16_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
template<std::size_t L>
|
||||
template< std::size_t L>
|
||||
struct TFSGLogString<char16_t[L]>
|
||||
{
|
||||
static void Format(const char16_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
template<>
|
||||
template <>
|
||||
struct TFSGLogString<const char16_t*>
|
||||
{
|
||||
static void Format(const char16_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
template<>
|
||||
template <>
|
||||
struct TFSGLogString<char16_t*>
|
||||
{
|
||||
static void Format(const char16_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString(StringCast<WIDECHAR>(Value).Get());
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
|
||||
template<>
|
||||
@@ -194,7 +190,12 @@ struct TFSGLogString<const double>
|
||||
{
|
||||
static void Format(const double Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
char Buffer[100];
|
||||
std::snprintf(Buffer, sizeof(Buffer), "%f", Value);
|
||||
|
||||
std::string String(Buffer);
|
||||
|
||||
OutString = FString(StringCast<WIDECHAR>(String.c_str()).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -203,7 +204,12 @@ struct TFSGLogString<double>
|
||||
{
|
||||
static void Format(const double Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
char Buffer[100];
|
||||
std::snprintf(Buffer, sizeof(Buffer), "%f", Value);
|
||||
|
||||
std::string String(Buffer);
|
||||
|
||||
OutString = FString(StringCast<WIDECHAR>(String.c_str()).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -212,7 +218,7 @@ struct TFSGLogString<const float>
|
||||
{
|
||||
static void Format(const float Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::SanitizeFloat(StaticCast<double>(Value), 1);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -221,7 +227,7 @@ struct TFSGLogString<float>
|
||||
{
|
||||
static void Format(const float Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::SanitizeFloat(StaticCast<double>(Value), 1);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -230,7 +236,7 @@ struct TFSGLogString<const FName>
|
||||
{
|
||||
static void Format(const FName& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -239,7 +245,7 @@ struct TFSGLogString<FName>
|
||||
{
|
||||
static void Format(const FName& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -248,7 +254,7 @@ struct TFSGLogString<const FQuat>
|
||||
{
|
||||
static void Format(const FQuat& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -257,7 +263,7 @@ struct TFSGLogString<FQuat>
|
||||
{
|
||||
static void Format(const FQuat& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -266,7 +272,7 @@ struct TFSGLogString<const FRotator>
|
||||
{
|
||||
static void Format(const FRotator& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -275,7 +281,7 @@ struct TFSGLogString<FRotator>
|
||||
{
|
||||
static void Format(const FRotator& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -302,7 +308,7 @@ struct TFSGLogString<const FTransform>
|
||||
{
|
||||
static void Format(const FTransform& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -311,7 +317,7 @@ struct TFSGLogString<FTransform>
|
||||
{
|
||||
static void Format(const FTransform& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -320,7 +326,7 @@ struct TFSGLogString<const FVector>
|
||||
{
|
||||
static void Format(const FVector& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -329,7 +335,7 @@ struct TFSGLogString<FVector>
|
||||
{
|
||||
static void Format(const FVector& Value, FString& OutString)
|
||||
{
|
||||
OutString = Value.ToString();
|
||||
OutString = FString::Printf(TEXT("%s"), Value.ToString().GetCharArray().GetData());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -338,7 +344,7 @@ struct TFSGLogString<const int8>
|
||||
{
|
||||
static void Format(const int8 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -347,7 +353,7 @@ struct TFSGLogString<int8>
|
||||
{
|
||||
static void Format(const int8 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -356,7 +362,7 @@ struct TFSGLogString<const int16>
|
||||
{
|
||||
static void Format(const int16 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -365,7 +371,7 @@ struct TFSGLogString<int16>
|
||||
{
|
||||
static void Format(const int16 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -374,7 +380,7 @@ struct TFSGLogString<const int32>
|
||||
{
|
||||
static void Format(const int32 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::FromInt(Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -383,7 +389,7 @@ struct TFSGLogString<int32>
|
||||
{
|
||||
static void Format(const int32 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::FromInt(Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -392,7 +398,7 @@ struct TFSGLogString<const int64>
|
||||
{
|
||||
static void Format(const int64 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -401,7 +407,7 @@ struct TFSGLogString<int64>
|
||||
{
|
||||
static void Format(const int64 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -410,9 +416,12 @@ struct TFSGLogString<const long double>
|
||||
{
|
||||
static void Format(const long double Value, FString& OutString)
|
||||
{
|
||||
char Buffer[128];
|
||||
char Buffer[100];
|
||||
std::snprintf(Buffer, sizeof(Buffer), "%Lf", Value);
|
||||
OutString = FString(UTF8_TO_TCHAR(Buffer));
|
||||
|
||||
std::string String(Buffer);
|
||||
|
||||
OutString = FString(StringCast<WIDECHAR>(String.c_str()).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -421,9 +430,12 @@ struct TFSGLogString<long double>
|
||||
{
|
||||
static void Format(const long double Value, FString& OutString)
|
||||
{
|
||||
char Buffer[128];
|
||||
char Buffer[100];
|
||||
std::snprintf(Buffer, sizeof(Buffer), "%Lf", Value);
|
||||
OutString = FString(UTF8_TO_TCHAR(Buffer));
|
||||
|
||||
std::string String(Buffer);
|
||||
|
||||
OutString = FString(StringCast<WIDECHAR>(String.c_str()).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -433,18 +445,18 @@ struct TFSGLogString<const std::size_t>
|
||||
{
|
||||
static void Format(const std::size_t Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
|
||||
#if ! PLATFORM_ANDROID && PLATFORM_LINUX
|
||||
template<>
|
||||
template <>
|
||||
struct TFSGLogString<std::size_t>
|
||||
{
|
||||
static void Format(const std::size_t Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
#endif /* ! PLATFORM_ANDROID && PLATFORM_LINUX */
|
||||
@@ -452,72 +464,72 @@ struct TFSGLogString<std::size_t>
|
||||
template<>
|
||||
struct TFSGLogString<const uint8>
|
||||
{
|
||||
static void Format(const uint8 Value, FString& OutString)
|
||||
static void Format(const int8 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<uint8>
|
||||
{
|
||||
static void Format(const uint8 Value, FString& OutString)
|
||||
static void Format(const int8 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<const uint16>
|
||||
{
|
||||
static void Format(const uint16 Value, FString& OutString)
|
||||
static void Format(const int16 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<uint16>
|
||||
{
|
||||
static void Format(const uint16 Value, FString& OutString)
|
||||
static void Format(const int16 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<const uint32>
|
||||
{
|
||||
static void Format(const uint32 Value, FString& OutString)
|
||||
static void Format(const int32 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<uint32>
|
||||
{
|
||||
static void Format(const uint32 Value, FString& OutString)
|
||||
static void Format(const int32 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<const uint64>
|
||||
{
|
||||
static void Format(const uint64 Value, FString& OutString)
|
||||
static void Format(const int64 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
template<>
|
||||
struct TFSGLogString<uint64>
|
||||
{
|
||||
static void Format(const uint64 Value, FString& OutString)
|
||||
static void Format(const int64 Value, FString& OutString)
|
||||
{
|
||||
OutString = LexToString(Value);
|
||||
OutString = FString::Printf(TEXT("%d"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -526,7 +538,7 @@ struct TFSGLogString<const std::string>
|
||||
{
|
||||
static void Format(const std::string& Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(UTF8_TO_TCHAR(Value.c_str()));
|
||||
OutString = FString(StringCast<WIDECHAR>(Value.c_str()).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -535,7 +547,7 @@ struct TFSGLogString<std::string>
|
||||
{
|
||||
static void Format(const std::string& Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(UTF8_TO_TCHAR(Value.c_str()));
|
||||
OutString = FString(StringCast<WIDECHAR>(Value.c_str()).Get());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -544,7 +556,7 @@ struct TFSGLogString<const wchar_t[L]>
|
||||
{
|
||||
static void Format(const wchar_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString::Printf(TEXT("%s"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -553,7 +565,7 @@ struct TFSGLogString<wchar_t[L]>
|
||||
{
|
||||
static void Format(const wchar_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString::Printf(TEXT("%s"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -562,7 +574,7 @@ struct TFSGLogString<const wchar_t*>
|
||||
{
|
||||
static void Format(const wchar_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString::Printf(TEXT("%s"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -571,7 +583,7 @@ struct TFSGLogString<wchar_t*>
|
||||
{
|
||||
static void Format(const wchar_t* Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value).Get());
|
||||
OutString = FString::Printf(TEXT("%s"), Value);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -580,7 +592,7 @@ struct TFSGLogString<const std::wstring>
|
||||
{
|
||||
static void Format(const std::wstring& Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value.data(), Value.size()).Get(), Value.size());
|
||||
OutString = FString::Printf(TEXT("%s"), Value.c_str());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -589,7 +601,7 @@ struct TFSGLogString<std::wstring>
|
||||
{
|
||||
static void Format(const std::wstring& Value, FString& OutString)
|
||||
{
|
||||
OutString = FString(StringCast<TCHAR>(Value.data(), Value.size()).Get(), Value.size());
|
||||
OutString = FString::Printf(TEXT("%s"), Value.c_str());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -646,7 +658,8 @@ private:
|
||||
void operator()(const FStaticImpl* Pointer) const;
|
||||
};
|
||||
|
||||
static TUniquePtr<FStaticImpl, FStaticImplDeleter> SPimpl;
|
||||
static std::unique_ptr<FStaticImpl, FStaticImplDeleter> SPimpl;
|
||||
static FStaticImplDeleter SPimplDeleter;
|
||||
|
||||
struct FImpl;
|
||||
|
||||
@@ -655,7 +668,7 @@ private:
|
||||
void operator()(const FImpl* Pointer) const;
|
||||
};
|
||||
|
||||
TUniquePtr<FImpl, FImplDeleter> Pimpl;
|
||||
std::unique_ptr<FImpl, FImplDeleter> Pimpl;
|
||||
FImplDeleter PimplDeleter;
|
||||
|
||||
private:
|
||||
|
||||
@@ -35,74 +35,12 @@
|
||||
|
||||
#include "SGTracking/SGHMDTracker.h"
|
||||
|
||||
#include "Runtime/Launch/Resources/Version.h"
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
|
||||
#include "Async/Async.h"
|
||||
#include "Async/Future.h"
|
||||
#include "Async/TaskGraphInterfaces.h"
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 */
|
||||
#include "Engine/Engine.h"
|
||||
#include "IHeadMountedDisplay.h"
|
||||
#include "IXRTrackingSystem.h"
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
|
||||
#include "Misc/Optional.h"
|
||||
#include "Misc/Timespan.h"
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 */
|
||||
|
||||
#include "SGSettings/SGSettings.h"
|
||||
|
||||
struct FSGHMDTracker::FStaticImpl
|
||||
{
|
||||
/************************
|
||||
* Static methods
|
||||
************************/
|
||||
|
||||
static void GetHMDMonitorInfo(
|
||||
IHeadMountedDisplay* Device, IHeadMountedDisplay::MonitorInfo& OutMonitorInfo);
|
||||
|
||||
/************************
|
||||
* Constructor / Destructor
|
||||
************************/
|
||||
|
||||
explicit FStaticImpl() = default;
|
||||
virtual ~FStaticImpl() = delete;
|
||||
};
|
||||
|
||||
void FSGHMDTracker::FStaticImpl::GetHMDMonitorInfo(
|
||||
IHeadMountedDisplay* Device, IHeadMountedDisplay::MonitorInfo& OutMonitorInfo)
|
||||
{
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 5
|
||||
Device->GetHMDMonitorInfo(OutMonitorInfo);
|
||||
return;
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 5 */
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 6
|
||||
TPromise<TOptional<IHeadMountedDisplay::MonitorInfo>> Promise;
|
||||
const TFuture<TOptional<IHeadMountedDisplay::MonitorInfo>> Future{Promise.GetFuture()};
|
||||
|
||||
AsyncTask(ENamedThreads::ActualRenderingThread,
|
||||
[
|
||||
Device,
|
||||
Promise = MoveTemp(Promise)]() mutable
|
||||
{
|
||||
IHeadMountedDisplay::MonitorInfo MonitorInfo;
|
||||
Device->GetHMDMonitorInfo(MonitorInfo);
|
||||
|
||||
Promise.SetValue(MoveTemp(MonitorInfo));
|
||||
});
|
||||
|
||||
if (Future.WaitFor(FTimespan::FromMilliseconds(100)))
|
||||
{
|
||||
TOptional<IHeadMountedDisplay::MonitorInfo> Result{Future.Get()};
|
||||
if (Result.IsSet())
|
||||
{
|
||||
OutMonitorInfo = Result.GetValue();
|
||||
}
|
||||
}
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 6 */
|
||||
}
|
||||
|
||||
FName FSGHMDTracker::GetDeviceName()
|
||||
{
|
||||
if (GEngine && GEngine->XRSystem.IsValid() && GEngine->XRSystem->IsHeadTrackingAllowed())
|
||||
@@ -207,7 +145,7 @@ bool FSGHMDTracker::IsHtcVivePro()
|
||||
if (Device)
|
||||
{
|
||||
IHeadMountedDisplay::MonitorInfo HmdMonitorInfo;
|
||||
FStaticImpl::GetHMDMonitorInfo(Device, HmdMonitorInfo);
|
||||
Device->GetHMDMonitorInfo(HmdMonitorInfo);
|
||||
|
||||
/// NOTE
|
||||
// VIVE Pro:
|
||||
@@ -280,7 +218,7 @@ bool FSGHMDTracker::IsHtcViveFocus3()
|
||||
if (Device)
|
||||
{
|
||||
IHeadMountedDisplay::MonitorInfo HmdMonitorInfo;
|
||||
FStaticImpl::GetHMDMonitorInfo(Device, HmdMonitorInfo);
|
||||
Device->GetHMDMonitorInfo(HmdMonitorInfo);
|
||||
|
||||
/// NOTE
|
||||
// VIVE Pro:
|
||||
@@ -354,7 +292,7 @@ bool FSGHMDTracker::IsHtcViveXRElite()
|
||||
if (Device)
|
||||
{
|
||||
IHeadMountedDisplay::MonitorInfo HmdMonitorInfo;
|
||||
FStaticImpl::GetHMDMonitorInfo(Device, HmdMonitorInfo);
|
||||
Device->GetHMDMonitorInfo(HmdMonitorInfo);
|
||||
|
||||
/// NOTE
|
||||
// VIVE Pro:
|
||||
@@ -428,7 +366,7 @@ bool FSGHMDTracker::IsHtcViveFocusVision()
|
||||
if (Device)
|
||||
{
|
||||
IHeadMountedDisplay::MonitorInfo HmdMonitorInfo;
|
||||
FStaticImpl::GetHMDMonitorInfo(Device, HmdMonitorInfo);
|
||||
Device->GetHMDMonitorInfo(HmdMonitorInfo);
|
||||
|
||||
/// NOTE
|
||||
// VIVE Pro:
|
||||
|
||||
@@ -35,11 +35,6 @@
|
||||
|
||||
#include "SGTracking/SGXRTracker.h"
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
|
||||
#include "Async/Async.h"
|
||||
#include "Async/Future.h"
|
||||
#include "Async/TaskGraphInterfaces.h"
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 */
|
||||
#include "Containers/Array.h"
|
||||
#include "Containers/Map.h"
|
||||
#include "Engine/Engine.h"
|
||||
@@ -51,10 +46,6 @@
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 4 */
|
||||
#include "IOpenXRHMDModule.h"
|
||||
#include "IXRTrackingSystem.h"
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
|
||||
#include "Misc/Optional.h"
|
||||
#include "Misc/Timespan.h"
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 */
|
||||
#include "OpenXRCore.h"
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 3
|
||||
#include "OpenXRHMD.h"
|
||||
@@ -2213,7 +2204,6 @@ bool FSGXRTracker::FImpl::GetControllerTransform(
|
||||
IMotionController::GetModularFeatureName())
|
||||
};
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 4
|
||||
for (const IMotionController* MotionController: MotionControllers)
|
||||
{
|
||||
if (!MotionController)
|
||||
@@ -2247,68 +2237,6 @@ bool FSGXRTracker::FImpl::GetControllerTransform(
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION <= 4 */
|
||||
|
||||
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5
|
||||
TPromise<TOptional<FTransform>> Promise;
|
||||
const TFuture<TOptional<FTransform>> Future{Promise.GetFuture()};
|
||||
|
||||
AsyncTask(ENamedThreads::ActualRenderingThread,
|
||||
[
|
||||
this,
|
||||
WorldToMetersScale,
|
||||
&PositionalTrackingHardwareMotionSource,
|
||||
&TargetPositionalTrackingProviderName,
|
||||
MotionControllers,
|
||||
Promise = MoveTemp(Promise)]() mutable
|
||||
{
|
||||
for (const IMotionController* MotionController: MotionControllers)
|
||||
{
|
||||
if (!MotionController)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
const ETrackingStatus TrackingStatus = MotionController->GetControllerTrackingStatus(
|
||||
DeviceIndex, PositionalTrackingHardwareMotionSource);
|
||||
if (TrackingStatus == ETrackingStatus::NotTracked)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
const FName DeviceTypeName{MotionController->GetMotionControllerDeviceTypeName()};
|
||||
if (DeviceTypeName != TargetPositionalTrackingProviderName)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
FRotator Orientation;
|
||||
FVector Position;
|
||||
const bool bGotTransform = MotionController->GetControllerOrientationAndPosition(
|
||||
DeviceIndex, PositionalTrackingHardwareMotionSource,
|
||||
Orientation, Position, WorldToMetersScale);
|
||||
if (bGotTransform)
|
||||
{
|
||||
FTransform Transform{Orientation, Position};
|
||||
Promise.SetValue(MoveTemp(Transform));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Promise.SetValue(TOptional<FTransform>{});
|
||||
});
|
||||
|
||||
if (Future.WaitFor(FTimespan::FromMilliseconds(100)))
|
||||
{
|
||||
TOptional<FTransform> Result{Future.Get()};
|
||||
if (Result.IsSet())
|
||||
{
|
||||
OutTransform = Result.GetValue();
|
||||
bOutMotionSourceHandTracking = false;
|
||||
bTracked = true;
|
||||
}
|
||||
}
|
||||
#endif /* ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 */
|
||||
}
|
||||
|
||||
if (!bTracked && bFallbackToHandTrackingIfNoGloveDetected)
|
||||
|
||||
@@ -51,9 +51,6 @@ struct SENSEGLOVETRACKING_API FSGHMDTracker
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
private:
|
||||
struct FStaticImpl;
|
||||
|
||||
public:
|
||||
static FName GetDeviceName();
|
||||
|
||||
|
||||
@@ -55,7 +55,6 @@ class SENSEGLOVETRACKING_API FSGXRTracker final : public IOpenXRExtensionPlugin,
|
||||
public IHandTracker
|
||||
{
|
||||
public:
|
||||
UE_DEPRECATED(5.5, "Deprecated by UE 5.5 in favor of GetMotionControllerState and GetHandTrackingState")
|
||||
static bool GetMotionControllerData(
|
||||
UObject* WorldContextObject,
|
||||
EControllerHand Hand,
|
||||
|
||||
@@ -45,21 +45,4 @@ bool USGXRTrackerKismetLibrary::GetMotionControllerData(
|
||||
PRAGMA_DISABLE_DEPRECATION_WARNINGS
|
||||
return FSGXRTracker::GetMotionControllerData(WorldContextObject, Hand, OutMotionControllerData);
|
||||
PRAGMA_ENABLE_DEPRECATION_WARNINGS
|
||||
}
|
||||
|
||||
bool USGXRTrackerKismetLibrary::GetMotionControllerState(
|
||||
UObject* WorldContextObject,
|
||||
const EXRSpaceType XRSpaceType, const EControllerHand Hand, const EXRControllerPoseType XRControllerPoseType,
|
||||
FXRMotionControllerState& OutMotionControllerState)
|
||||
{
|
||||
return FSGXRTracker::GetMotionControllerState(
|
||||
WorldContextObject, XRSpaceType, Hand, XRControllerPoseType, OutMotionControllerState);
|
||||
}
|
||||
|
||||
bool USGXRTrackerKismetLibrary::GetHandTrackingState(
|
||||
UObject* WorldContextObject,
|
||||
const EXRSpaceType XRSpaceType, const EControllerHand Hand,
|
||||
FXRHandTrackingState& OutHandTrackingState)
|
||||
{
|
||||
return FSGXRTracker::GetHandTrackingState(WorldContextObject, XRSpaceType, Hand, OutHandTrackingState);
|
||||
}
|
||||
@@ -57,18 +57,4 @@ public:
|
||||
UObject* WorldContextObject,
|
||||
EControllerHand Hand,
|
||||
FXRMotionControllerData& OutMotionControllerData);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Tracking | XR Tracker",
|
||||
meta=(WorldContext="WorldContextObject"))
|
||||
static bool GetMotionControllerState(
|
||||
UObject* WorldContextObject,
|
||||
EXRSpaceType XRSpaceType, EControllerHand Hand, EXRControllerPoseType XRControllerPoseType,
|
||||
FXRMotionControllerState& OutMotionControllerState);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="SenseGlove | Tracking | XR Tracker",
|
||||
meta=(WorldContext="WorldContextObject"))
|
||||
static bool GetHandTrackingState(
|
||||
UObject* WorldContextObject,
|
||||
EXRSpaceType XRSpaceType, EControllerHand Hand,
|
||||
FXRHandTrackingState& OutHandTrackingState);
|
||||
};
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user