Skip to content

Conversation

@shinyquagsire23
Copy link
Contributor

Calculates the hand skeleton velocity based on the controller's last sent m_pose; Adds an additional targetTimestampNs argument to the controller's onPoseUpdate, as well as an additional stored timestamp m_poseTargetTimestampNs for that pose to allow calculating the velocity of the controller. This calculation is only performed if controllerMotion is missing but the skeleton is present.

Fixes the waving exercise in Aperture Hand Lab, and probably throwing and other interactions in other titles.

Copy link
Member

@zmerp zmerp left a comment

Choose a reason for hiding this comment

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

Forgot about this

@zmerp
Copy link
Member

zmerp commented Sep 20, 2024

All clear, thanks

@zmerp zmerp merged commit 1cbb133 into alvr-org:master Sep 20, 2024
zmerp pushed a commit that referenced this pull request Sep 20, 2024
…rs (#2416)

* Calculate velocities for skeleton-based controllers

* format

* no chrono, no verbs

* hopefully last nits
@zmerp zmerp mentioned this pull request Sep 20, 2024
zmerp pushed a commit that referenced this pull request Sep 21, 2024
…rs (#2416)

* Calculate velocities for skeleton-based controllers

* format

* no chrono, no verbs

* hopefully last nits
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.

2 participants