microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6k stars 2.12k forks source link

MRTK - Leap Motion hand not tracking constraint palm up #10563

Closed sdudasko closed 9 months ago

sdudasko commented 2 years ago

Describe the bug

When I attach the hand menu to a hand and enable it with HandConstraintPalmUp component it works fine with simulated hand but I cannot make it work with MotionLeap. I am using LeapMotion configuration profile, I also added LeapMotionArticulatedHand controller.

I was trying to debug it and I found out that the code is stuck here - in the file HandConstraintPalmUp.cs

if (!controller.IsPositionAvailable)
{
    // A fully populated hand controller will have position    
    // information available.
    return false;
}

Those lines of code always return false for me and I am not sure why. When working with LeapMotion hands at other tasks, such as basic manipulation with objects, everything seems to work fine.

To reproduce

Steps to reproduce the behavior:

  1. Initialize MRTK on the scene with LeapMotion (modules version 4.5.1)
  2. Set up a basic hand menu where you expect it to open on palm up with component (HandConstraintPalmUp)
  3. Try to open it by rotating your hand - this step does not work for me (only if I quick-fix it by commenting lines above)

Expected behavior

The hand menu should open by using this solver.

Your setup (please complete the following information)

Target platform (please complete the following information)

iantrobinson commented 2 years ago

I think this was fixed in #10446.

IssueSyncBot commented 9 months ago

We appreciate your feedback and thank you for reporting this issue.

Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.

Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.

Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.

Thank you for your continued support of the Mixed Reality Toolkit!