bone_list = [
right_hand_ring_1, right_hand_ring_2, right_hand_ring_3,
right_hand_pinky_1, right_hand_pinky_2, right_hand_pinky_3,
left_hand_ring_1, left_hand_ring_2, left_hand_ring_3,
left_hand_pinky_1, left_hand_pinky_2, left_hand_pinky_3]
t_pose = [
-73.451027, 6.148606, 144.327759, 89.999733, -180.000000, 0.000000, #
-76.517784, 6.148627, 144.327759, 89.999733, -90.000000, 0.000000, #
-79.224548, 6.148638, 144.327759, 89.999733, -180.000000, 0.000000, #
-72.466316, 7.726289, 144.065430, 89.999710, -90.000000, 0.000000, #
-74.959297, 7.726304, 144.066635, 89.999481, -90.000000, 0.000000, #
-77.075249, 7.726308, 144.066559, 89.999481, -90.000000, 0.000000, #
73.450546, 6.002759, 144.352631, 89.999680, 90.000000, 0.000000, #
76.517303, 6.002785, 144.352631, 89.999680, 90.000000, 0.000000, #
79.224045, 6.002799, 144.352646, 89.999680, 90.000000, 0.000000, #
72.469963, 7.582942, 144.088181, 89.999680, 90.000000, 0.000000, #
74.962944, 7.582955, 144.089432, 89.999695, 90.000000, 0.000000, #
77.078911, 7.582951, 144.089386, 89.999718, 90.000000, 0.000000] #
status = hand_device.SetTPoseData(avatar, t_pose) # print failure
status = hand_device.ProcessData(0, data, start_time) # print failure
if status == RLPy.RStatus.Success:
print("sucess")
if status == RLPy.RStatus.Failure:
print("failure")