totovr / SimpleOpenNI

SimpleOpenNI library for Processing 3.5.2, 3.4, 3.3.7, 3.3.6 on MacOS for V1 and V2
https://totovr.github.io/SimpleOpenNI/
MIT License
158 stars 47 forks source link

Question: Getting Rotation of Joints #19

Open agieocean opened 4 years ago

agieocean commented 4 years ago

Issue Summary

Reviewing the documentation I can't seem to find a way to extract the rotation of the joints, just the position, is this possible?

Type of Issue

You might select multiple topics, delete the rest:

Your System Configuration

Operating system: Ubuntu 18.04 Version of Kinect: V1

agieocean commented 4 years ago

It seems like getJointOrientationSkeleton should handle this but I'm not quite sure what the matrix it returns means, googling it seems like this could be a rotation matrix (considering the only thing that changes is the 3x3 matrix but I'm not quite sure how to translate that to...degrees itself or if I'm even on the right path: image