Hello, I'm trying to get the joint speed and confidence from PXCHandData::JointData.
I tried to get joint data from this function.
hand->QueryTrackedJoint((PXCHandData::JointType)j, jointData)
Then, I defined the instance as follows:
double speedx = jointData.speed.x;
double speedy = jointData.speed.y;
double speedz = jointData.speed.z;
double conf = jointData.confidence;
But I always get speed value is 0.0 and confidence is 100.
Could you tell me the reason?
Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.