Commit Graph
42 Commits
Author SHA1 Message Date
Mamadou Babaei ce969cc955 fix a bug where tracking status not being set when the hand data is valid 2024-08-16 18:01:00 +02:00
Mamadou Babaei d254817a54 replace c++ standard int type definitions with the ones from unreal 2024-08-16 18:00:59 +02:00
Mamadou Babaei a7fb0e2644 apply some sgxrtracker enum parsing improvements 2024-08-16 18:00:57 +02:00
Mamadou Babaei 9f397263c2 a const correctness fix 2024-08-16 18:00:57 +02:00
Mamadou Babaei 246673de5f make FSGXRTracker::GetMotionControllerData() behave the same as 5.4 on both 5.2 and 5.3 2024-08-16 18:00:57 +02:00
Mamadou Babaei 4145599068 workaround the runuat 5.2/5.3 build issue due to missing IOpenXRHMD.h from epic public headers 2024-08-16 18:00:56 +02:00
Mamadou Babaei 297aec2531 seprate the engine and senseglove module dependency lists 2024-08-16 18:00:56 +02:00
Mamadou Babaei d0b2ec380e implement our own GetMotionControllerData instead of using the one from the XRTrackingSystem as it only picks up the first hand tracking plugin in order to make sure at least internally we use the hand-tracking data from senseglove 2024-08-16 18:00:56 +02:00
Mamadou Babaei fac8336d47 implement 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 2024-08-16 18:00:56 +02:00
Mamadou Babaei dce323ed53 revamp the whole settings system in order to unify the settings across various systems, modules, and api layers 2024-08-16 18:00:56 +02:00
Mamadou Babaei 6a1c78d752 minor fix: get object by reference 2024-08-16 18:00:56 +02:00
Mamadou Babaei 94e5025bf8 rename SGVirtualHandTrackingSettings to SGVirtualHandSettings 2024-08-16 18:00:55 +02:00
Mamadou Babaei 5096714750 remove redundant header files 2024-08-16 18:00:55 +02:00
Mamadou Babaei 832ac4c88a fix runuat build issues for ue 5.2 2024-08-16 18:00:55 +02:00
Mamadou Babaei 55fc74440b fix a crash when the wrist-tracker hardware set to auto-detection 2024-08-16 18:00:55 +02:00
Mamadou Babaei c982be561f fix a few build issues 2024-08-16 18:00:55 +02:00
Mamadou Babaei 3990529aed perform a ensure before dereferencing 2024-08-16 18:00:54 +02:00
Mamadou Babaei 62dc516f97 formatting fix 2024-08-16 18:00:54 +02:00
Mamadou Babaei 5219c14a54 revamp the GetControllerOrientationAndPosition and GetWristTransform to use the same caluclations and get rid of bMotionSourceHandTracking in senseglove joint calculations 2024-08-16 18:00:54 +02:00
Mamadou Babaei 8008edcaf3 fix the how we determine the motion source inside the GetControllerOrientationAndPosition and GetControllerTrackingStatus for ue versions earlier than 5.3 2024-08-16 18:00:54 +02:00
Mamadou Babaei 495d84e1eb temporarility change the way we calculate the wrist offset 2024-08-16 18:00:54 +02:00
Mamadou Babaei 6fc9c91b4a fix a few wrist tracker issues and introduce SGWristTrackerVisualizationComponent 2024-08-16 18:00:54 +02:00
Mamadou Babaei ce8a01dc05 make USGGloveTracker::GetInstance as flexible as possible 2024-08-16 18:00:54 +02:00
Mamadou Babaei c3a7be270b migrate the static getworld to sgengineutils 2024-08-16 18:00:54 +02:00
Mamadou Babaei fba4191f56 safer in-editor getworld without the polluting logs 2024-08-16 18:00:54 +02:00
Mamadou Babaei 85c7b769d1 fix the you are not the main thread and the editor is currently in a play mode errors 2024-08-16 18:00:54 +02:00
Mamadou Babaei f8738fb594 add IsAMetaQuestDevice() and IsAHtcViveDevice() methods 2024-08-16 18:00:53 +02:00
Mamadou Babaei 9505ef06e8 fix vive pro detection issues by introducing additional device identifier 2024-08-16 18:00:53 +02:00
Mamadou Babaei 67e3b01583 fix android build issues 2024-08-16 18:00:53 +02:00
Mamadou Babaei c132a967f3 improve the wrist tracking code when using motion controllers 2024-08-16 18:00:53 +02:00
Mamadou Babaei a238887ac2 refactor the sgxrtracker internals to use transforms as pimpl methods args instead of a combination of fvectors/fquats 2024-08-16 18:00:52 +02:00
Mamadou Babaei dd5e8b68cf minor fixes, mostrly formatting 2024-08-16 18:00:52 +02:00
Mamadou Babaei 5c26a800f8 remove unused pimpl method 2024-08-16 18:00:52 +02:00
Mamadou Babaei 1a505cf21b remove dead code 2024-08-16 18:00:52 +02:00
Mamadou Babaei f2b7854a1a even more optimal fxrmotioncontroller data calculations that considers mesh when outputting senseglove data 2024-08-16 18:00:52 +02:00
Mamadou Babaei 3a132475c7 somewhat unfinished refactored sg bone calculations 2024-08-16 18:00:52 +02:00
Mamadou Babaei c11f34ddef unfinished improvements based on the last commit 2024-08-16 18:00:52 +02:00
Mamadou Babaei 25299b812d attempt at calculating a hand model and feeding it to get hand pose 2024-08-16 18:00:52 +02:00
Mamadou Babaei 38c8362bdc refactor the way we calculate the mesh bone reference transforms to read from the settings system instead of the hardcoded values 2024-08-16 18:00:52 +02:00
Mamadou Babaei c78c28fab2 openxr bugfixes and improvements + 1st attempt at calculating the fxrmotioncontrollerdata based off of the hand mesh 2024-08-16 18:00:52 +02:00
Mamadou Babaei f37c184d64 fix more UE 5.4 RunUAT build issues 2024-08-16 18:00:51 +02:00
Mamadou Babaei 20d7401054 implement the OpenXR-compatible hand tracking (XR_EXT_hand_tracking) support 2024-08-16 18:00:51 +02:00