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

Acceleration data for using only hands/gestures? #109

Open
maatjes2 opened this issue Jun 9, 2024 · 3 comments
Open

Acceleration data for using only hands/gestures? #109

maatjes2 opened this issue Jun 9, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@maatjes2
Copy link

maatjes2 commented Jun 9, 2024

I read somewhere that the AVP doesn't allow for transmitting the acceleration data from the Joycons, but would it be possible to send it when using only a hands/gestures setup? Something like calculating direction and differences in hand positions over time? It seems many people cannot play games like Half-Life: Alyx (which require acceleration data from the moment you pick up the "gravitation gloves") due to this data lacking.

Maybe some inspiration can be taken from the following fork of the original, which calculates linearVelocity and angularVelocity as derivative of position and rotation data: https://github.com/dnnkeeper/ALVR/tree/ControllerVelocityFix

@shinyquagsire23 shinyquagsire23 added the enhancement New feature or request label Jun 14, 2024
@shinyquagsire23
Copy link
Collaborator

Technically we do send this, it's just the streamer that's not actually using it atm

@maatjes2
Copy link
Author

maatjes2 commented Aug 6, 2024

Technically we do send this, it's just the streamer that's not actually using it atm

Seems the guys over at the streamer are pointing back to the client:
alvr-org/ALVR#2212

Do JoyCons send acceleration data (from a "throwing gesture" for example), and is this data passed on by the ALVR-visionos client to the streamer/server? @shinyquagsire23 Do you own a couple of JoyCons and would you be able to check whether you're able to throw objects in Half-Life: Alyx? Seems that the items are dropping straight (vertically) to the ground, as soon as the grip is released. I would like to know if this is a limitation due to the Joy-Cons? If so, it should be possible for the client to calculate force/acceleration based on Vision Pro hand-tracking instead, right? (calculating linearVelocity and angularVelocity as derivative of position and rotation data). Maybe people using Joy-Cons (as well as people using no controllers/hands only) should then be able to tick a box in the client that confirms they are using them (if this cannot be detected automatically), and the client should send acceleration data based on recent hand-tracking position history? Especially with the recent upgrade of hand-tracking to 90 fps, this should be accurate enough for playability.

@zaptrem
Copy link

zaptrem commented Aug 18, 2024

Technically we do send this, it's just the streamer that's not actually using it atm

Seems sending acceleration data was left as a TODO?

// TODO motion fusion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants