Software Archive
Read-only legacy content

Joint Speed zero!?

alex_f_2
Beginner
657 Views

Hello, I am trying to get the speed of a hand joint in java, I defined the speed like this

float speed = new PXCMHandData.JointData().speed.x; 

when i print speed, I always get 0.0

0 Kudos
2 Replies
Xusheng_L_Intel
Employee
657 Views

Have you EnableJointSpeed in PXCMHandConfiguration?

0 Kudos
alex_f_2
Beginner
657 Views

Yes, I did

int time=0;
PXCMHandData.JointType  JT = JointType.JOINT_CENTER;
PXCMHandData.JointSpeedType JST = JointSpeedType.JOINT_SPEED_ABSOLUTE;

handConfig.EnableJointSpeed( JT, JST, time);

Is it right like this??

 

0 Kudos
Reply