Testing Accuracy on Hololens 2

Abhi 1 Reputation point
2022-06-22T11:12:14.007+00:00

Hello,

I am new to Hololens 2 Development. I am trying to test the effect on accuracy on performing a task with Hololens 2. For this, I have planned to create different tasks and ask the users to perform the tasks by offsetting the virtual hand position from real hand.

I couldn't get a clear idea where I have to add an offset value so that the virtual hands gets offsetted by a certain distance.

Thank you.

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
383 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Seth DU - MSFT 541 Reputation points
    2022-06-23T07:29:07.307+00:00

    Hello, welcome to Microsoft Q&A,

    According to the description, I assume it is the visual effects of hands that you want set offset when handling tasks, it can be done easily. Please let me know if I understand correctly.

    I am referring Example scenes - MRTK 2 and have imported the official hand tracking sample. You may navigate to [MixedRealityToolkits profiles in Unity] -> [Input] -> [Articulated Hand Tracking]. There are Joint Prefab, Palm Prefab, etc. and they are the visual game objects that placed by MRTK input. Usually, it is not allowed to edit Prefab in Package folder, and you may drag/copy the object from Packages/com.microsoft.mixedreality.toolkit.foundation/SDK/Features/UX/Prefabs/Hands to Assets folder, then attach and replace the original reference. After that, you can create Unity scripts for offset settings like below.

    void Update()  
    {  
            Transform current = transform;  
            transform.position = current.position + new Vector3(0.2f, 0.2f, 0.2f);  
    }  
    

    ---
    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.