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

Positional tracker support #920

Open
wants to merge 53 commits into
base: main
Choose a base branch
from
Open

Positional tracker support #920

wants to merge 53 commits into from

Conversation

Stermere
Copy link
Contributor

@Stermere Stermere commented Jan 6, 2024

Adds an inverse kinematics solver to the skeleton allowing for positional and rotational trackers to be used together. An example would be using 3 positional trackers for the waist and feet and 2 rotational trackers on your leg to add knee-tracking. That is just one example though, any combination of trackers is theoretically supported. Needs SlimeVR/SolarXR-Protocol#139 merged before this can be merged.

@Stermere Stermere force-pushed the IKSolver branch 2 times, most recently from 1dafe6c to 43205d1 Compare July 11, 2024 03:41
@Eirenliel
Copy link
Member

Would've been cool to use the constraints to correct for drift 🥺 like we know if the bone is out of constraints, then something drifted, and we can at least limit to how bad it looks, and also maybe warn the user. It's a powerful thing that we wanted long ago, and now it feels reachable

@Stermere
Copy link
Contributor Author

Would've been cool to use the constraints to correct for drift 🥺 like we know if the bone is out of constraints, then something drifted, and we can at least limit to how bad it looks, and also maybe warn the user. It's a powerful thing that we wanted long ago, and now it feels reachable

That is something I am definitely interested in making happen in another PR! You are right though it is certainly reachable with the Constraints as a start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Skeletal Model Deals with the model of the skeleton and its pose Difficulty: Math Heavy For something that requires some non-trivial math Priority: Normal The default priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly support positional constraints in skeletal model
3 participants