KinectPV2 icon indicating copy to clipboard operation
KinectPV2 copied to clipboard

getOrientation() always returns 0

Open filipjohansson opened this issue 10 years ago • 2 comments

Maybe it's me that has missed something, but whenever I try to use getOrientation() on a skeleton joint I get 0 back. This is the code I run in the if (skeleton.isTracked() statement.

joints[KinectPV2.JointType_Head].getOrientation().get()

Using getX() or getY() gives the same result.

filipjohansson avatar Nov 17 '15 15:11 filipjohansson

hello, are you using the latest master?, It should be working

ThomasLengeling avatar Nov 19 '15 15:11 ThomasLengeling

I am having the same problem. Filip, have you ever been able to solve this? getOrientation().get() does not seem to exist, whereas getOrientation().getX() returns 0.0 constantly.

holmar avatar May 04 '17 06:05 holmar