Software Archive
Read-only legacy content

Joint Speed zero!?

alex_f_2
Einsteiger
2.177Aufrufe

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 Antworten
Xusheng_L_Intel
Mitarbeiter
2.177Aufrufe

Have you EnableJointSpeed in PXCMHandConfiguration?

alex_f_2
Einsteiger
2.177Aufrufe

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??

 

Antworten