Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lynx] Workaround in the GestureManager to detect system gestures #1390

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

javifernandez
Copy link
Member

@javifernandez javifernandez commented Apr 30, 2024

Since Lynx 1.1.8 we can really on the XR_FB_hand_tracking_aim OpenXR Extension, so we can use the its specific Gesture Manager. It works fine for the getting poses and managing pinching gestures, but the XR_HAND_TRACKING_AIM_SYSTEM_GESTURE_BIT_FB is not properly set, so we can not use it to detect system gestures. Hence, we need to rely on the GestureManager implementation based on the manual computation of the hand's position and orientation.

Additionally, the XR_HAND_TRACKING_AIM_VALID_BIT_FB is not being updated either, so we can't rely on it to be sure the hand gesture is actually meant to be a system gesture.

Fixes #1392

@svillar
Copy link
Member

svillar commented Apr 30, 2024

I'd also suggest to change a bit the title to something like [Lynx] Use XR_FB_hand_tracking_aim extension ?

Since Lynx 1.1.8 we can realy on the R_FB_hand_tracking_aim OpenX
Extension, so we can use the its specific Gesture Manager. It works
fine for the getting poses and managing pinching gestures, but the
XR_HAND_TRACKING_AIM_VALID_BIT_FB is not properly updated, so we
can not use it to detect system gestures.
@javifernandez
Copy link
Member Author

I'd also suggest to change a bit the title to something like [Lynx] Use XR_FB_hand_tracking_aim extension ?

Umm, I think that the relation between that title and the code change isn't obvious. As a matter of fact, we were using the extension with upgrading the SO to the version 1.1.8. The PR is more about fixing a bug when using the extension.

Copy link
Member

@svillar svillar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of comments:

  • title "use handjoints gesture manager" is wrong, there is no such a thing (maybe just GestureManager?). Also wdyt about changing it to something like "[Lynx] Add workaround to use GestureManager to detect system gestures" or something like that
  • Some typos:
  • R_FB_hand_tracking_aim needs a X
  • realy -> rely
  • OpenX -> OpenXR

@javifernandez javifernandez changed the title Use the HandJoints gesture manager for detecting system gesture [Lynx] Workaround in the GestureManager to detect system gestures Apr 30, 2024
@javifernandez javifernandez merged commit e2c2a15 into main Apr 30, 2024
20 checks passed
@javifernandez javifernandez deleted the lynx-handtracking-extensions branch April 30, 2024 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing the menus for backnavigation and exit the application
2 participants