24 #include <interfaces/HumanSkeletonInterface.h> 26 #include <core/exceptions/software.h> 45 HumanSkeletonInterface::HumanSkeletonInterface() : Interface()
47 data_size =
sizeof(HumanSkeletonInterface_data_t);
49 data = (HumanSkeletonInterface_data_t *)
data_ptr;
52 enum_map_State[(int)STATE_INVALID] =
"STATE_INVALID";
53 enum_map_State[(int)STATE_DETECTING_POSE] =
"STATE_DETECTING_POSE";
54 enum_map_State[(int)STATE_CALIBRATING] =
"STATE_CALIBRATING";
55 enum_map_State[(int)STATE_TRACKING] =
"STATE_TRACKING";
157 unsigned char tmp_hash[] = {0x5f, 0x47, 0x2f, 0xb3, 0x8b, 0xf1, 0xe1, 0xa, 0xb9, 0x42, 0x34, 0xea, 0x83, 0x43, 0x94, 0x37};
162 HumanSkeletonInterface::~HumanSkeletonInterface()
174 case STATE_INVALID:
return "STATE_INVALID";
175 case STATE_DETECTING_POSE:
return "STATE_DETECTING_POSE";
176 case STATE_CALIBRATING:
return "STATE_CALIBRATING";
177 case STATE_TRACKING:
return "STATE_TRACKING";
178 default:
return "UNKNOWN";
209 data->state = new_state;
220 return data->user_id;
240 data->user_id = new_user_id;
257 return data->visibility_history;
283 data->visibility_history = new_visibility_history;
314 strncpy(data->pose, new_pose,
sizeof(data->pose));
338 throw Exception(
"Index value %u out of bounds (0..3)", index);
340 return data->com[index];
360 memcpy(data->com, new_com,
sizeof(
float) * 3);
373 throw Exception(
"Index value %u out of bounds (0..3)", index);
375 data->com[index] = new_com;
385 return data->pos_head;
398 throw Exception(
"Index value %u out of bounds (0..3)", index);
400 return data->pos_head[index];
420 memcpy(data->pos_head, new_pos_head,
sizeof(
float) * 3);
433 throw Exception(
"Index value %u out of bounds (0..3)", index);
435 data->pos_head[index] = new_pos_head;
446 return data->pos_head_confidence;
467 data->pos_head_confidence = new_pos_head_confidence;
478 return data->pos_neck;
491 throw Exception(
"Index value %u out of bounds (0..3)", index);
493 return data->pos_neck[index];
513 memcpy(data->pos_neck, new_pos_neck,
sizeof(
float) * 3);
526 throw Exception(
"Index value %u out of bounds (0..3)", index);
528 data->pos_neck[index] = new_pos_neck;
539 return data->pos_neck_confidence;
560 data->pos_neck_confidence = new_pos_neck_confidence;
571 return data->pos_torso;
584 throw Exception(
"Index value %u out of bounds (0..3)", index);
586 return data->pos_torso[index];
606 memcpy(data->pos_torso, new_pos_torso,
sizeof(
float) * 3);
619 throw Exception(
"Index value %u out of bounds (0..3)", index);
621 data->pos_torso[index] = new_pos_torso;
632 return data->pos_torso_confidence;
653 data->pos_torso_confidence = new_pos_torso_confidence;
664 return data->pos_waist;
677 throw Exception(
"Index value %u out of bounds (0..3)", index);
679 return data->pos_waist[index];
699 memcpy(data->pos_waist, new_pos_waist,
sizeof(
float) * 3);
712 throw Exception(
"Index value %u out of bounds (0..3)", index);
714 data->pos_waist[index] = new_pos_waist;
725 return data->pos_waist_confidence;
746 data->pos_waist_confidence = new_pos_waist_confidence;
758 return data->pos_left_collar;
772 throw Exception(
"Index value %u out of bounds (0..3)", index);
774 return data->pos_left_collar[index];
795 memcpy(data->pos_left_collar, new_pos_left_collar,
sizeof(
float) * 3);
809 throw Exception(
"Index value %u out of bounds (0..3)", index);
811 data->pos_left_collar[index] = new_pos_left_collar;
822 return data->pos_left_collar_confidence;
843 data->pos_left_collar_confidence = new_pos_left_collar_confidence;
855 return data->pos_left_shoulder;
869 throw Exception(
"Index value %u out of bounds (0..3)", index);
871 return data->pos_left_shoulder[index];
892 memcpy(data->pos_left_shoulder, new_pos_left_shoulder,
sizeof(
float) * 3);
906 throw Exception(
"Index value %u out of bounds (0..3)", index);
908 data->pos_left_shoulder[index] = new_pos_left_shoulder;
919 return data->pos_left_shoulder_confidence;
940 data->pos_left_shoulder_confidence = new_pos_left_shoulder_confidence;
952 return data->pos_left_elbow;
966 throw Exception(
"Index value %u out of bounds (0..3)", index);
968 return data->pos_left_elbow[index];
989 memcpy(data->pos_left_elbow, new_pos_left_elbow,
sizeof(
float) * 3);
1003 throw Exception(
"Index value %u out of bounds (0..3)", index);
1005 data->pos_left_elbow[index] = new_pos_left_elbow;
1016 return data->pos_left_elbow_confidence;
1037 data->pos_left_elbow_confidence = new_pos_left_elbow_confidence;
1049 return data->pos_left_wrist;
1063 throw Exception(
"Index value %u out of bounds (0..3)", index);
1065 return data->pos_left_wrist[index];
1086 memcpy(data->pos_left_wrist, new_pos_left_wrist,
sizeof(
float) * 3);
1100 throw Exception(
"Index value %u out of bounds (0..3)", index);
1102 data->pos_left_wrist[index] = new_pos_left_wrist;
1113 return data->pos_left_wrist_confidence;
1134 data->pos_left_wrist_confidence = new_pos_left_wrist_confidence;
1146 return data->pos_left_hand;
1160 throw Exception(
"Index value %u out of bounds (0..3)", index);
1162 return data->pos_left_hand[index];
1183 memcpy(data->pos_left_hand, new_pos_left_hand,
sizeof(
float) * 3);
1197 throw Exception(
"Index value %u out of bounds (0..3)", index);
1199 data->pos_left_hand[index] = new_pos_left_hand;
1210 return data->pos_left_hand_confidence;
1231 data->pos_left_hand_confidence = new_pos_left_hand_confidence;
1243 return data->pos_left_fingertip;
1257 throw Exception(
"Index value %u out of bounds (0..3)", index);
1259 return data->pos_left_fingertip[index];
1280 memcpy(data->pos_left_fingertip, new_pos_left_fingertip,
sizeof(
float) * 3);
1294 throw Exception(
"Index value %u out of bounds (0..3)", index);
1296 data->pos_left_fingertip[index] = new_pos_left_fingertip;
1307 return data->pos_left_fingertip_confidence;
1328 data->pos_left_fingertip_confidence = new_pos_left_fingertip_confidence;
1340 return data->pos_right_collar;
1354 throw Exception(
"Index value %u out of bounds (0..3)", index);
1356 return data->pos_right_collar[index];
1377 memcpy(data->pos_right_collar, new_pos_right_collar,
sizeof(
float) * 3);
1391 throw Exception(
"Index value %u out of bounds (0..3)", index);
1393 data->pos_right_collar[index] = new_pos_right_collar;
1404 return data->pos_right_collar_confidence;
1425 data->pos_right_collar_confidence = new_pos_right_collar_confidence;
1437 return data->pos_right_shoulder;
1451 throw Exception(
"Index value %u out of bounds (0..3)", index);
1453 return data->pos_right_shoulder[index];
1474 memcpy(data->pos_right_shoulder, new_pos_right_shoulder,
sizeof(
float) * 3);
1488 throw Exception(
"Index value %u out of bounds (0..3)", index);
1490 data->pos_right_shoulder[index] = new_pos_right_shoulder;
1501 return data->pos_right_shoulder_confidence;
1522 data->pos_right_shoulder_confidence = new_pos_right_shoulder_confidence;
1534 return data->pos_right_elbow;
1548 throw Exception(
"Index value %u out of bounds (0..3)", index);
1550 return data->pos_right_elbow[index];
1571 memcpy(data->pos_right_elbow, new_pos_right_elbow,
sizeof(
float) * 3);
1585 throw Exception(
"Index value %u out of bounds (0..3)", index);
1587 data->pos_right_elbow[index] = new_pos_right_elbow;
1598 return data->pos_right_elbow_confidence;
1619 data->pos_right_elbow_confidence = new_pos_right_elbow_confidence;
1631 return data->pos_right_wrist;
1645 throw Exception(
"Index value %u out of bounds (0..3)", index);
1647 return data->pos_right_wrist[index];
1668 memcpy(data->pos_right_wrist, new_pos_right_wrist,
sizeof(
float) * 3);
1682 throw Exception(
"Index value %u out of bounds (0..3)", index);
1684 data->pos_right_wrist[index] = new_pos_right_wrist;
1695 return data->pos_right_wrist_confidence;
1716 data->pos_right_wrist_confidence = new_pos_right_wrist_confidence;
1728 return data->pos_right_hand;
1742 throw Exception(
"Index value %u out of bounds (0..3)", index);
1744 return data->pos_right_hand[index];
1765 memcpy(data->pos_right_hand, new_pos_right_hand,
sizeof(
float) * 3);
1779 throw Exception(
"Index value %u out of bounds (0..3)", index);
1781 data->pos_right_hand[index] = new_pos_right_hand;
1792 return data->pos_right_hand_confidence;
1813 data->pos_right_hand_confidence = new_pos_right_hand_confidence;
1825 return data->pos_right_fingertip;
1839 throw Exception(
"Index value %u out of bounds (0..3)", index);
1841 return data->pos_right_fingertip[index];
1862 memcpy(data->pos_right_fingertip, new_pos_right_fingertip,
sizeof(
float) * 3);
1876 throw Exception(
"Index value %u out of bounds (0..3)", index);
1878 data->pos_right_fingertip[index] = new_pos_right_fingertip;
1889 return data->pos_right_fingertip_confidence;
1910 data->pos_right_fingertip_confidence = new_pos_right_fingertip_confidence;
1922 return data->pos_left_hip;
1936 throw Exception(
"Index value %u out of bounds (0..3)", index);
1938 return data->pos_left_hip[index];
1959 memcpy(data->pos_left_hip, new_pos_left_hip,
sizeof(
float) * 3);
1973 throw Exception(
"Index value %u out of bounds (0..3)", index);
1975 data->pos_left_hip[index] = new_pos_left_hip;
1986 return data->pos_left_hip_confidence;
2007 data->pos_left_hip_confidence = new_pos_left_hip_confidence;
2019 return data->pos_left_knee;
2033 throw Exception(
"Index value %u out of bounds (0..3)", index);
2035 return data->pos_left_knee[index];
2056 memcpy(data->pos_left_knee, new_pos_left_knee,
sizeof(
float) * 3);
2070 throw Exception(
"Index value %u out of bounds (0..3)", index);
2072 data->pos_left_knee[index] = new_pos_left_knee;
2083 return data->pos_left_knee_confidence;
2104 data->pos_left_knee_confidence = new_pos_left_knee_confidence;
2116 return data->pos_left_ankle;
2130 throw Exception(
"Index value %u out of bounds (0..3)", index);
2132 return data->pos_left_ankle[index];
2153 memcpy(data->pos_left_ankle, new_pos_left_ankle,
sizeof(
float) * 3);
2167 throw Exception(
"Index value %u out of bounds (0..3)", index);
2169 data->pos_left_ankle[index] = new_pos_left_ankle;
2180 return data->pos_left_ankle_confidence;
2201 data->pos_left_ankle_confidence = new_pos_left_ankle_confidence;
2213 return data->pos_left_foot;
2227 throw Exception(
"Index value %u out of bounds (0..3)", index);
2229 return data->pos_left_foot[index];
2250 memcpy(data->pos_left_foot, new_pos_left_foot,
sizeof(
float) * 3);
2264 throw Exception(
"Index value %u out of bounds (0..3)", index);
2266 data->pos_left_foot[index] = new_pos_left_foot;
2277 return data->pos_left_foot_confidence;
2298 data->pos_left_foot_confidence = new_pos_left_foot_confidence;
2310 return data->pos_right_hip;
2324 throw Exception(
"Index value %u out of bounds (0..3)", index);
2326 return data->pos_right_hip[index];
2347 memcpy(data->pos_right_hip, new_pos_right_hip,
sizeof(
float) * 3);
2361 throw Exception(
"Index value %u out of bounds (0..3)", index);
2363 data->pos_right_hip[index] = new_pos_right_hip;
2374 return data->pos_right_hip_confidence;
2395 data->pos_right_hip_confidence = new_pos_right_hip_confidence;
2407 return data->pos_right_knee;
2421 throw Exception(
"Index value %u out of bounds (0..3)", index);
2423 return data->pos_right_knee[index];
2444 memcpy(data->pos_right_knee, new_pos_right_knee,
sizeof(
float) * 3);
2458 throw Exception(
"Index value %u out of bounds (0..3)", index);
2460 data->pos_right_knee[index] = new_pos_right_knee;
2471 return data->pos_right_knee_confidence;
2492 data->pos_right_knee_confidence = new_pos_right_knee_confidence;
2504 return data->pos_right_ankle;
2518 throw Exception(
"Index value %u out of bounds (0..3)", index);
2520 return data->pos_right_ankle[index];
2541 memcpy(data->pos_right_ankle, new_pos_right_ankle,
sizeof(
float) * 3);
2555 throw Exception(
"Index value %u out of bounds (0..3)", index);
2557 data->pos_right_ankle[index] = new_pos_right_ankle;
2568 return data->pos_right_ankle_confidence;
2589 data->pos_right_ankle_confidence = new_pos_right_ankle_confidence;
2601 return data->pos_right_foot;
2615 throw Exception(
"Index value %u out of bounds (0..3)", index);
2617 return data->pos_right_foot[index];
2638 memcpy(data->pos_right_foot, new_pos_right_foot,
sizeof(
float) * 3);
2652 throw Exception(
"Index value %u out of bounds (0..3)", index);
2654 data->pos_right_foot[index] = new_pos_right_foot;
2665 return data->pos_right_foot_confidence;
2686 data->pos_right_foot_confidence = new_pos_right_foot_confidence;
2697 return data->ori_head;
2710 throw Exception(
"Index value %u out of bounds (0..9)", index);
2712 return data->ori_head[index];
2732 memcpy(data->ori_head, new_ori_head,
sizeof(
float) * 9);
2745 throw Exception(
"Index value %u out of bounds (0..9)", index);
2747 data->ori_head[index] = new_ori_head;
2758 return data->ori_head_confidence;
2779 data->ori_head_confidence = new_ori_head_confidence;
2790 return data->ori_neck;
2803 throw Exception(
"Index value %u out of bounds (0..9)", index);
2805 return data->ori_neck[index];
2825 memcpy(data->ori_neck, new_ori_neck,
sizeof(
float) * 9);
2838 throw Exception(
"Index value %u out of bounds (0..9)", index);
2840 data->ori_neck[index] = new_ori_neck;
2851 return data->ori_neck_confidence;
2872 data->ori_neck_confidence = new_ori_neck_confidence;
2883 return data->ori_torso;
2896 throw Exception(
"Index value %u out of bounds (0..9)", index);
2898 return data->ori_torso[index];
2918 memcpy(data->ori_torso, new_ori_torso,
sizeof(
float) * 9);
2931 throw Exception(
"Index value %u out of bounds (0..9)", index);
2933 data->ori_torso[index] = new_ori_torso;
2944 return data->ori_torso_confidence;
2965 data->ori_torso_confidence = new_ori_torso_confidence;
2976 return data->ori_waist;
2989 throw Exception(
"Index value %u out of bounds (0..9)", index);
2991 return data->ori_waist[index];
3011 memcpy(data->ori_waist, new_ori_waist,
sizeof(
float) * 9);
3024 throw Exception(
"Index value %u out of bounds (0..9)", index);
3026 data->ori_waist[index] = new_ori_waist;
3037 return data->ori_waist_confidence;
3058 data->ori_waist_confidence = new_ori_waist_confidence;
3070 return data->ori_left_collar;
3084 throw Exception(
"Index value %u out of bounds (0..9)", index);
3086 return data->ori_left_collar[index];
3107 memcpy(data->ori_left_collar, new_ori_left_collar,
sizeof(
float) * 9);
3121 throw Exception(
"Index value %u out of bounds (0..9)", index);
3123 data->ori_left_collar[index] = new_ori_left_collar;
3134 return data->ori_left_collar_confidence;
3155 data->ori_left_collar_confidence = new_ori_left_collar_confidence;
3167 return data->ori_left_shoulder;
3181 throw Exception(
"Index value %u out of bounds (0..9)", index);
3183 return data->ori_left_shoulder[index];
3204 memcpy(data->ori_left_shoulder, new_ori_left_shoulder,
sizeof(
float) * 9);
3218 throw Exception(
"Index value %u out of bounds (0..9)", index);
3220 data->ori_left_shoulder[index] = new_ori_left_shoulder;
3231 return data->ori_left_shoulder_confidence;
3252 data->ori_left_shoulder_confidence = new_ori_left_shoulder_confidence;
3264 return data->ori_left_elbow;
3278 throw Exception(
"Index value %u out of bounds (0..9)", index);
3280 return data->ori_left_elbow[index];
3301 memcpy(data->ori_left_elbow, new_ori_left_elbow,
sizeof(
float) * 9);
3315 throw Exception(
"Index value %u out of bounds (0..9)", index);
3317 data->ori_left_elbow[index] = new_ori_left_elbow;
3328 return data->ori_left_elbow_confidence;
3349 data->ori_left_elbow_confidence = new_ori_left_elbow_confidence;
3361 return data->ori_left_wrist;
3375 throw Exception(
"Index value %u out of bounds (0..9)", index);
3377 return data->ori_left_wrist[index];
3398 memcpy(data->ori_left_wrist, new_ori_left_wrist,
sizeof(
float) * 9);
3412 throw Exception(
"Index value %u out of bounds (0..9)", index);
3414 data->ori_left_wrist[index] = new_ori_left_wrist;
3425 return data->ori_left_wrist_confidence;
3446 data->ori_left_wrist_confidence = new_ori_left_wrist_confidence;
3458 return data->ori_left_hand;
3472 throw Exception(
"Index value %u out of bounds (0..9)", index);
3474 return data->ori_left_hand[index];
3495 memcpy(data->ori_left_hand, new_ori_left_hand,
sizeof(
float) * 9);
3509 throw Exception(
"Index value %u out of bounds (0..9)", index);
3511 data->ori_left_hand[index] = new_ori_left_hand;
3522 return data->ori_left_hand_confidence;
3543 data->ori_left_hand_confidence = new_ori_left_hand_confidence;
3555 return data->ori_left_fingertip;
3569 throw Exception(
"Index value %u out of bounds (0..9)", index);
3571 return data->ori_left_fingertip[index];
3592 memcpy(data->ori_left_fingertip, new_ori_left_fingertip,
sizeof(
float) * 9);
3606 throw Exception(
"Index value %u out of bounds (0..9)", index);
3608 data->ori_left_fingertip[index] = new_ori_left_fingertip;
3619 return data->ori_left_fingertip_confidence;
3640 data->ori_left_fingertip_confidence = new_ori_left_fingertip_confidence;
3652 return data->ori_right_collar;
3666 throw Exception(
"Index value %u out of bounds (0..9)", index);
3668 return data->ori_right_collar[index];
3689 memcpy(data->ori_right_collar, new_ori_right_collar,
sizeof(
float) * 9);
3703 throw Exception(
"Index value %u out of bounds (0..9)", index);
3705 data->ori_right_collar[index] = new_ori_right_collar;
3716 return data->ori_right_collar_confidence;
3737 data->ori_right_collar_confidence = new_ori_right_collar_confidence;
3749 return data->ori_right_shoulder;
3763 throw Exception(
"Index value %u out of bounds (0..9)", index);
3765 return data->ori_right_shoulder[index];
3786 memcpy(data->ori_right_shoulder, new_ori_right_shoulder,
sizeof(
float) * 9);
3800 throw Exception(
"Index value %u out of bounds (0..9)", index);
3802 data->ori_right_shoulder[index] = new_ori_right_shoulder;
3813 return data->ori_right_shoulder_confidence;
3834 data->ori_right_shoulder_confidence = new_ori_right_shoulder_confidence;
3846 return data->ori_right_elbow;
3860 throw Exception(
"Index value %u out of bounds (0..9)", index);
3862 return data->ori_right_elbow[index];
3883 memcpy(data->ori_right_elbow, new_ori_right_elbow,
sizeof(
float) * 9);
3897 throw Exception(
"Index value %u out of bounds (0..9)", index);
3899 data->ori_right_elbow[index] = new_ori_right_elbow;
3910 return data->ori_right_elbow_confidence;
3931 data->ori_right_elbow_confidence = new_ori_right_elbow_confidence;
3943 return data->ori_right_wrist;
3957 throw Exception(
"Index value %u out of bounds (0..9)", index);
3959 return data->ori_right_wrist[index];
3980 memcpy(data->ori_right_wrist, new_ori_right_wrist,
sizeof(
float) * 9);
3994 throw Exception(
"Index value %u out of bounds (0..9)", index);
3996 data->ori_right_wrist[index] = new_ori_right_wrist;
4007 return data->ori_right_wrist_confidence;
4028 data->ori_right_wrist_confidence = new_ori_right_wrist_confidence;
4040 return data->ori_right_hand;
4054 throw Exception(
"Index value %u out of bounds (0..9)", index);
4056 return data->ori_right_hand[index];
4077 memcpy(data->ori_right_hand, new_ori_right_hand,
sizeof(
float) * 9);
4091 throw Exception(
"Index value %u out of bounds (0..9)", index);
4093 data->ori_right_hand[index] = new_ori_right_hand;
4104 return data->ori_right_hand_confidence;
4125 data->ori_right_hand_confidence = new_ori_right_hand_confidence;
4137 return data->ori_right_fingertip;
4151 throw Exception(
"Index value %u out of bounds (0..9)", index);
4153 return data->ori_right_fingertip[index];
4174 memcpy(data->ori_right_fingertip, new_ori_right_fingertip,
sizeof(
float) * 9);
4188 throw Exception(
"Index value %u out of bounds (0..9)", index);
4190 data->ori_right_fingertip[index] = new_ori_right_fingertip;
4201 return data->ori_right_fingertip_confidence;
4222 data->ori_right_fingertip_confidence = new_ori_right_fingertip_confidence;
4234 return data->ori_left_hip;
4248 throw Exception(
"Index value %u out of bounds (0..9)", index);
4250 return data->ori_left_hip[index];
4271 memcpy(data->ori_left_hip, new_ori_left_hip,
sizeof(
float) * 9);
4285 throw Exception(
"Index value %u out of bounds (0..9)", index);
4287 data->ori_left_hip[index] = new_ori_left_hip;
4298 return data->ori_left_hip_confidence;
4319 data->ori_left_hip_confidence = new_ori_left_hip_confidence;
4331 return data->ori_left_knee;
4345 throw Exception(
"Index value %u out of bounds (0..9)", index);
4347 return data->ori_left_knee[index];
4368 memcpy(data->ori_left_knee, new_ori_left_knee,
sizeof(
float) * 9);
4382 throw Exception(
"Index value %u out of bounds (0..9)", index);
4384 data->ori_left_knee[index] = new_ori_left_knee;
4395 return data->ori_left_knee_confidence;
4416 data->ori_left_knee_confidence = new_ori_left_knee_confidence;
4428 return data->ori_left_ankle;
4442 throw Exception(
"Index value %u out of bounds (0..9)", index);
4444 return data->ori_left_ankle[index];
4465 memcpy(data->ori_left_ankle, new_ori_left_ankle,
sizeof(
float) * 9);
4479 throw Exception(
"Index value %u out of bounds (0..9)", index);
4481 data->ori_left_ankle[index] = new_ori_left_ankle;
4492 return data->ori_left_ankle_confidence;
4513 data->ori_left_ankle_confidence = new_ori_left_ankle_confidence;
4525 return data->ori_left_foot;
4539 throw Exception(
"Index value %u out of bounds (0..9)", index);
4541 return data->ori_left_foot[index];
4562 memcpy(data->ori_left_foot, new_ori_left_foot,
sizeof(
float) * 9);
4576 throw Exception(
"Index value %u out of bounds (0..9)", index);
4578 data->ori_left_foot[index] = new_ori_left_foot;
4589 return data->ori_left_foot_confidence;
4610 data->ori_left_foot_confidence = new_ori_left_foot_confidence;
4622 return data->ori_right_hip;
4636 throw Exception(
"Index value %u out of bounds (0..9)", index);
4638 return data->ori_right_hip[index];
4659 memcpy(data->ori_right_hip, new_ori_right_hip,
sizeof(
float) * 9);
4673 throw Exception(
"Index value %u out of bounds (0..9)", index);
4675 data->ori_right_hip[index] = new_ori_right_hip;
4686 return data->ori_right_hip_confidence;
4707 data->ori_right_hip_confidence = new_ori_right_hip_confidence;
4719 return data->ori_right_knee;
4733 throw Exception(
"Index value %u out of bounds (0..9)", index);
4735 return data->ori_right_knee[index];
4756 memcpy(data->ori_right_knee, new_ori_right_knee,
sizeof(
float) * 9);
4770 throw Exception(
"Index value %u out of bounds (0..9)", index);
4772 data->ori_right_knee[index] = new_ori_right_knee;
4783 return data->ori_right_knee_confidence;
4804 data->ori_right_knee_confidence = new_ori_right_knee_confidence;
4816 return data->ori_right_ankle;
4830 throw Exception(
"Index value %u out of bounds (0..9)", index);
4832 return data->ori_right_ankle[index];
4853 memcpy(data->ori_right_ankle, new_ori_right_ankle,
sizeof(
float) * 9);
4867 throw Exception(
"Index value %u out of bounds (0..9)", index);
4869 data->ori_right_ankle[index] = new_ori_right_ankle;
4880 return data->ori_right_ankle_confidence;
4901 data->ori_right_ankle_confidence = new_ori_right_ankle_confidence;
4913 return data->ori_right_foot;
4927 throw Exception(
"Index value %u out of bounds (0..9)", index);
4929 return data->ori_right_foot[index];
4950 memcpy(data->ori_right_foot, new_ori_right_foot,
sizeof(
float) * 9);
4964 throw Exception(
"Index value %u out of bounds (0..9)", index);
4966 data->ori_right_foot[index] = new_ori_right_foot;
4977 return data->ori_right_foot_confidence;
4998 data->ori_right_foot_confidence = new_ori_right_foot_confidence;
5007 "message type for this interface type.", type);
5022 memcpy(data, oi->data,
sizeof(HumanSkeletonInterface_data_t));
5028 if (strcmp(enumtype,
"State") == 0) {
5029 return tostring_State((
State)val);
void set_com(unsigned int index, const float new_com)
Set com value at given index.
float * pos_right_foot() const
Get pos_right_foot value.
void set_ori_left_knee(unsigned int index, const float new_ori_left_knee)
Set ori_left_knee value at given index.
float ori_left_fingertip_confidence() const
Get ori_left_fingertip_confidence value.
float ori_waist_confidence() const
Get ori_waist_confidence value.
void set_pos_right_wrist_confidence(const float new_pos_right_wrist_confidence)
Set pos_right_wrist_confidence value.
size_t maxlenof_ori_waist() const
Get maximum length of ori_waist value.
void set_pos_right_knee(unsigned int index, const float new_pos_right_knee)
Set pos_right_knee value at given index.
size_t maxlenof_ori_torso() const
Get maximum length of ori_torso value.
void set_ori_right_collar_confidence(const float new_ori_right_collar_confidence)
Set ori_right_collar_confidence value.
size_t maxlenof_pos_right_elbow() const
Get maximum length of pos_right_elbow value.
float * pos_left_hip() const
Get pos_left_hip value.
uint32_t user_id() const
Get user_id value.
float * ori_right_hip() const
Get ori_right_hip value.
size_t maxlenof_ori_left_wrist() const
Get maximum length of ori_left_wrist value.
void * data_ptr
Pointer to memory that contains local data.
float pos_right_foot_confidence() const
Get pos_right_foot_confidence value.
float pos_neck_confidence() const
Get pos_neck_confidence value.
size_t maxlenof_pos_right_hip_confidence() const
Get maximum length of pos_right_hip_confidence value.
void set_ori_left_hip(unsigned int index, const float new_ori_left_hip)
Set ori_left_hip value at given index.
void set_pos_left_wrist_confidence(const float new_pos_left_wrist_confidence)
Set pos_left_wrist_confidence value.
size_t maxlenof_pos_right_hand_confidence() const
Get maximum length of pos_right_hand_confidence value.
size_t maxlenof_ori_left_wrist_confidence() const
Get maximum length of ori_left_wrist_confidence value.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
size_t maxlenof_pos_left_knee() const
Get maximum length of pos_left_knee value.
size_t maxlenof_ori_left_hand_confidence() const
Get maximum length of ori_left_hand_confidence value.
void set_pos_left_hip(unsigned int index, const float new_pos_left_hip)
Set pos_left_hip value at given index.
float ori_right_fingertip_confidence() const
Get ori_right_fingertip_confidence value.
float * ori_right_shoulder() const
Get ori_right_shoulder value.
void set_ori_left_hip_confidence(const float new_ori_left_hip_confidence)
Set ori_left_hip_confidence value.
void set_pos_neck_confidence(const float new_pos_neck_confidence)
Set pos_neck_confidence value.
size_t maxlenof_ori_right_hip() const
Get maximum length of ori_right_hip value.
float * ori_right_wrist() const
Get ori_right_wrist value.
size_t maxlenof_user_id() const
Get maximum length of user_id value.
float ori_right_knee_confidence() const
Get ori_right_knee_confidence value.
size_t maxlenof_ori_right_foot() const
Get maximum length of ori_right_foot value.
size_t maxlenof_ori_left_knee() const
Get maximum length of ori_left_knee value.
size_t maxlenof_ori_left_hip_confidence() const
Get maximum length of ori_left_hip_confidence value.
float pos_right_ankle_confidence() const
Get pos_right_ankle_confidence value.
size_t maxlenof_pos_right_collar_confidence() const
Get maximum length of pos_right_collar_confidence value.
void set_pos_right_foot(unsigned int index, const float new_pos_right_foot)
Set pos_right_foot value at given index.
float * ori_left_ankle() const
Get ori_left_ankle value.
void set_pos_waist_confidence(const float new_pos_waist_confidence)
Set pos_waist_confidence value.
void set_pos_right_elbow_confidence(const float new_pos_right_elbow_confidence)
Set pos_right_elbow_confidence value.
float ori_left_elbow_confidence() const
Get ori_left_elbow_confidence value.
size_t maxlenof_ori_left_elbow_confidence() const
Get maximum length of ori_left_elbow_confidence value.
void set_ori_torso_confidence(const float new_ori_torso_confidence)
Set ori_torso_confidence value.
float ori_left_knee_confidence() const
Get ori_left_knee_confidence value.
size_t maxlenof_pos_right_ankle() const
Get maximum length of pos_right_ankle value.
void set_hash(unsigned char *ihash)
Set hash.
size_t maxlenof_pos_left_ankle_confidence() const
Get maximum length of pos_left_ankle_confidence value.
size_t maxlenof_pos_left_elbow_confidence() const
Get maximum length of pos_left_elbow_confidence value.
void set_ori_right_ankle(unsigned int index, const float new_ori_right_ankle)
Set ori_right_ankle value at given index.
void set_pos_right_hip(unsigned int index, const float new_pos_right_hip)
Set pos_right_hip value at given index.
size_t maxlenof_pos_left_collar() const
Get maximum length of pos_left_collar value.
float * pos_right_knee() const
Get pos_right_knee value.
void set_pos_head(unsigned int index, const float new_pos_head)
Set pos_head value at given index.
void set_ori_right_collar(unsigned int index, const float new_ori_right_collar)
Set ori_right_collar value at given index.
void set_ori_right_wrist(unsigned int index, const float new_ori_right_wrist)
Set ori_right_wrist value at given index.
Fawkes library namespace.
float ori_right_hip_confidence() const
Get ori_right_hip_confidence value.
float * ori_left_fingertip() const
Get ori_left_fingertip value.
void set_pos_waist(unsigned int index, const float new_pos_waist)
Set pos_waist value at given index.
float pos_left_shoulder_confidence() const
Get pos_left_shoulder_confidence value.
void set_ori_right_hand_confidence(const float new_ori_right_hand_confidence)
Set ori_right_hand_confidence value.
size_t maxlenof_ori_head() const
Get maximum length of ori_head value.
size_t maxlenof_pos_right_knee() const
Get maximum length of pos_right_knee value.
float ori_right_ankle_confidence() const
Get ori_right_ankle_confidence value.
size_t maxlenof_pos_left_elbow() const
Get maximum length of pos_left_elbow value.
size_t maxlenof_ori_left_collar_confidence() const
Get maximum length of ori_left_collar_confidence value.
size_t maxlenof_pos_right_foot() const
Get maximum length of pos_right_foot value.
void set_pos_right_shoulder_confidence(const float new_pos_right_shoulder_confidence)
Set pos_right_shoulder_confidence value.
float * pos_left_elbow() const
Get pos_left_elbow value.
size_t maxlenof_pos_left_wrist() const
Get maximum length of pos_left_wrist value.
void set_pos_left_collar(unsigned int index, const float new_pos_left_collar)
Set pos_left_collar value at given index.
float * pos_right_ankle() const
Get pos_right_ankle value.
float * ori_left_hand() const
Get ori_left_hand value.
void set_ori_left_shoulder_confidence(const float new_ori_left_shoulder_confidence)
Set ori_left_shoulder_confidence value.
size_t maxlenof_ori_right_elbow_confidence() const
Get maximum length of ori_right_elbow_confidence value.
float * pos_torso() const
Get pos_torso value.
size_t maxlenof_com() const
Get maximum length of com value.
void set_pos_left_fingertip(unsigned int index, const float new_pos_left_fingertip)
Set pos_left_fingertip value at given index.
size_t maxlenof_ori_right_fingertip_confidence() const
Get maximum length of ori_right_fingertip_confidence value.
float pos_torso_confidence() const
Get pos_torso_confidence value.
void set_ori_left_ankle_confidence(const float new_ori_left_ankle_confidence)
Set ori_left_ankle_confidence value.
size_t maxlenof_pos_right_fingertip() const
Get maximum length of pos_right_fingertip value.
size_t maxlenof_ori_left_hand() const
Get maximum length of ori_left_hand value.
float * pos_left_shoulder() const
Get pos_left_shoulder value.
void set_pos_head_confidence(const float new_pos_head_confidence)
Set pos_head_confidence value.
float * ori_torso() const
Get ori_torso value.
void set_pos_right_knee_confidence(const float new_pos_right_knee_confidence)
Set pos_right_knee_confidence value.
size_t maxlenof_pos_right_fingertip_confidence() const
Get maximum length of pos_right_fingertip_confidence value.
size_t maxlenof_ori_left_collar() const
Get maximum length of ori_left_collar value.
size_t maxlenof_pos_right_shoulder_confidence() const
Get maximum length of pos_right_shoulder_confidence value.
void set_ori_neck_confidence(const float new_ori_neck_confidence)
Set ori_neck_confidence value.
float pos_left_collar_confidence() const
Get pos_left_collar_confidence value.
float * ori_right_elbow() const
Get ori_right_elbow value.
size_t maxlenof_ori_right_ankle_confidence() const
Get maximum length of ori_right_ankle_confidence value.
float * ori_left_knee() const
Get ori_left_knee value.
size_t maxlenof_ori_neck() const
Get maximum length of ori_neck value.
void set_ori_right_fingertip_confidence(const float new_ori_right_fingertip_confidence)
Set ori_right_fingertip_confidence value.
float ori_right_collar_confidence() const
Get ori_right_collar_confidence value.
size_t maxlenof_ori_right_ankle() const
Get maximum length of ori_right_ankle value.
size_t maxlenof_ori_left_knee_confidence() const
Get maximum length of ori_left_knee_confidence value.
Base class for all Fawkes BlackBoard interfaces.
void set_pos_right_shoulder(unsigned int index, const float new_pos_right_shoulder)
Set pos_right_shoulder value at given index.
float * ori_neck() const
Get ori_neck value.
size_t maxlenof_pos_left_fingertip_confidence() const
Get maximum length of pos_left_fingertip_confidence value.
float * pos_left_collar() const
Get pos_left_collar value.
size_t maxlenof_ori_right_knee_confidence() const
Get maximum length of ori_right_knee_confidence value.
size_t maxlenof_ori_torso_confidence() const
Get maximum length of ori_torso_confidence value.
size_t maxlenof_ori_left_ankle() const
Get maximum length of ori_left_ankle value.
void set_ori_waist_confidence(const float new_ori_waist_confidence)
Set ori_waist_confidence value.
float pos_right_knee_confidence() const
Get pos_right_knee_confidence value.
size_t maxlenof_pos_left_hand_confidence() const
Get maximum length of pos_left_hand_confidence value.
float ori_left_wrist_confidence() const
Get ori_left_wrist_confidence value.
void set_ori_left_wrist(unsigned int index, const float new_ori_left_wrist)
Set ori_left_wrist value at given index.
void set_pos_right_foot_confidence(const float new_pos_right_foot_confidence)
Set pos_right_foot_confidence value.
size_t maxlenof_pos_left_foot() const
Get maximum length of pos_left_foot value.
void set_pos_left_collar_confidence(const float new_pos_left_collar_confidence)
Set pos_left_collar_confidence value.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
void set_ori_left_knee_confidence(const float new_ori_left_knee_confidence)
Set ori_left_knee_confidence value.
void set_pos_left_hand_confidence(const float new_pos_left_hand_confidence)
Set pos_left_hand_confidence value.
float * ori_left_wrist() const
Get ori_left_wrist value.
size_t maxlenof_pos_right_shoulder() const
Get maximum length of pos_right_shoulder value.
size_t maxlenof_pos_torso() const
Get maximum length of pos_torso value.
int32_t visibility_history() const
Get visibility_history value.
float pos_right_shoulder_confidence() const
Get pos_right_shoulder_confidence value.
void set_ori_right_hand(unsigned int index, const float new_ori_right_hand)
Set ori_right_hand value at given index.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
size_t maxlenof_ori_right_knee() const
Get maximum length of ori_right_knee value.
size_t maxlenof_pos_right_ankle_confidence() const
Get maximum length of pos_right_ankle_confidence value.
size_t maxlenof_pos_left_knee_confidence() const
Get maximum length of pos_left_knee_confidence value.
State state() const
Get state value.
message_data_ts_t * data_ts
data timestamp aliasing pointer
void set_pos_right_fingertip_confidence(const float new_pos_right_fingertip_confidence)
Set pos_right_fingertip_confidence value.
void set_visibility_history(const int32_t new_visibility_history)
Set visibility_history value.
void set_pos_right_elbow(unsigned int index, const float new_pos_right_elbow)
Set pos_right_elbow value at given index.
unsigned int data_size
Size of memory needed to hold all data.
void set_pos_left_wrist(unsigned int index, const float new_pos_left_wrist)
Set pos_left_wrist value at given index.
void set_pos_left_elbow_confidence(const float new_pos_left_elbow_confidence)
Set pos_left_elbow_confidence value.
State
Current tracking state for the skeleton.
void set_pos_neck(unsigned int index, const float new_pos_neck)
Set pos_neck value at given index.
float * ori_left_shoulder() const
Get ori_left_shoulder value.
float * ori_right_foot() const
Get ori_right_foot value.
void set_ori_right_fingertip(unsigned int index, const float new_ori_right_fingertip)
Set ori_right_fingertip value at given index.
size_t maxlenof_pos_torso_confidence() const
Get maximum length of pos_torso_confidence value.
void set_ori_right_foot_confidence(const float new_ori_right_foot_confidence)
Set ori_right_foot_confidence value.
size_t maxlenof_ori_right_shoulder_confidence() const
Get maximum length of ori_right_shoulder_confidence value.
size_t maxlenof_ori_right_hip_confidence() const
Get maximum length of ori_right_hip_confidence value.
bool data_changed
Indicator if data has changed.
float ori_left_hand_confidence() const
Get ori_left_hand_confidence value.
void set_pos_right_collar(unsigned int index, const float new_pos_right_collar)
Set pos_right_collar value at given index.
float * pos_right_fingertip() const
Get pos_right_fingertip value.
float * ori_right_hand() const
Get ori_right_hand value.
size_t maxlenof_ori_right_hand() const
Get maximum length of ori_right_hand value.
const char * type() const
Get type of interface.
size_t maxlenof_state() const
Get maximum length of state value.
size_t maxlenof_pos_right_wrist_confidence() const
Get maximum length of pos_right_wrist_confidence value.
float pos_left_fingertip_confidence() const
Get pos_left_fingertip_confidence value.
void set_ori_left_shoulder(unsigned int index, const float new_ori_left_shoulder)
Set ori_left_shoulder value at given index.
void set_pose(const char *new_pose)
Set pose value.
size_t maxlenof_pos_right_hip() const
Get maximum length of pos_right_hip value.
float pos_right_wrist_confidence() const
Get pos_right_wrist_confidence value.
Base class for exceptions in Fawkes.
void set_ori_left_collar(unsigned int index, const float new_ori_left_collar)
Set ori_left_collar value at given index.
size_t maxlenof_pos_head_confidence() const
Get maximum length of pos_head_confidence value.
void set_ori_head(unsigned int index, const float new_ori_head)
Set ori_head value at given index.
float ori_head_confidence() const
Get ori_head_confidence value.
float pos_left_wrist_confidence() const
Get pos_left_wrist_confidence value.
size_t maxlenof_pos_right_elbow_confidence() const
Get maximum length of pos_right_elbow_confidence value.
size_t maxlenof_pos_neck() const
Get maximum length of pos_neck value.
float * ori_left_collar() const
Get ori_left_collar value.
size_t maxlenof_pos_left_foot_confidence() const
Get maximum length of pos_left_foot_confidence value.
void set_pos_left_fingertip_confidence(const float new_pos_left_fingertip_confidence)
Set pos_left_fingertip_confidence value.
void set_pos_right_collar_confidence(const float new_pos_right_collar_confidence)
Set pos_right_collar_confidence value.
size_t maxlenof_ori_left_hip() const
Get maximum length of ori_left_hip value.
float pos_left_hand_confidence() const
Get pos_left_hand_confidence value.
float ori_right_hand_confidence() const
Get ori_right_hand_confidence value.
void set_state(const State new_state)
Set state value.
size_t maxlenof_pos_left_wrist_confidence() const
Get maximum length of pos_left_wrist_confidence value.
float * pos_left_fingertip() const
Get pos_left_fingertip value.
void set_pos_right_wrist(unsigned int index, const float new_pos_right_wrist)
Set pos_right_wrist value at given index.
void set_ori_right_hip(unsigned int index, const float new_ori_right_hip)
Set ori_right_hip value at given index.
void set_user_id(const uint32_t new_user_id)
Set user_id value.
size_t maxlenof_ori_right_wrist() const
Get maximum length of ori_right_wrist value.
void set_ori_left_fingertip(unsigned int index, const float new_ori_left_fingertip)
Set ori_left_fingertip value at given index.
size_t maxlenof_ori_left_foot_confidence() const
Get maximum length of ori_left_foot_confidence value.
size_t maxlenof_ori_left_elbow() const
Get maximum length of ori_left_elbow value.
void set_ori_neck(unsigned int index, const float new_ori_neck)
Set ori_neck value at given index.
float pos_right_hip_confidence() const
Get pos_right_hip_confidence value.
void set_pos_left_shoulder_confidence(const float new_pos_left_shoulder_confidence)
Set pos_left_shoulder_confidence value.
size_t maxlenof_ori_left_shoulder() const
Get maximum length of ori_left_shoulder value.
void set_ori_left_collar_confidence(const float new_ori_left_collar_confidence)
Set ori_left_collar_confidence value.
float ori_neck_confidence() const
Get ori_neck_confidence value.
float pos_left_foot_confidence() const
Get pos_left_foot_confidence value.
void set_ori_right_shoulder(unsigned int index, const float new_ori_right_shoulder)
Set ori_right_shoulder value at given index.
size_t maxlenof_ori_head_confidence() const
Get maximum length of ori_head_confidence value.
size_t maxlenof_ori_right_wrist_confidence() const
Get maximum length of ori_right_wrist_confidence value.
float * ori_right_knee() const
Get ori_right_knee value.
size_t maxlenof_pos_left_collar_confidence() const
Get maximum length of pos_left_collar_confidence value.
const char * tostring_State(State value) const
Convert State constant to string.
float pos_right_fingertip_confidence() const
Get pos_right_fingertip_confidence value.
size_t maxlenof_pos_waist() const
Get maximum length of pos_waist value.
float ori_right_elbow_confidence() const
Get ori_right_elbow_confidence value.
float pos_right_hand_confidence() const
Get pos_right_hand_confidence value.
void set_ori_left_ankle(unsigned int index, const float new_ori_left_ankle)
Set ori_left_ankle value at given index.
void set_pos_left_hip_confidence(const float new_pos_left_hip_confidence)
Set pos_left_hip_confidence value.
size_t maxlenof_pos_right_knee_confidence() const
Get maximum length of pos_right_knee_confidence value.
size_t maxlenof_ori_right_collar_confidence() const
Get maximum length of ori_right_collar_confidence value.
size_t maxlenof_pos_waist_confidence() const
Get maximum length of pos_waist_confidence value.
void set_pos_left_foot(unsigned int index, const float new_pos_left_foot)
Set pos_left_foot value at given index.
void set_ori_right_wrist_confidence(const float new_ori_right_wrist_confidence)
Set ori_right_wrist_confidence value.
size_t maxlenof_ori_left_ankle_confidence() const
Get maximum length of ori_left_ankle_confidence value.
float pos_left_knee_confidence() const
Get pos_left_knee_confidence value.
size_t maxlenof_ori_left_fingertip_confidence() const
Get maximum length of ori_left_fingertip_confidence value.
void set_pos_right_hand_confidence(const float new_pos_right_hand_confidence)
Set pos_right_hand_confidence value.
float * ori_left_foot() const
Get ori_left_foot value.
float * pos_left_ankle() const
Get pos_left_ankle value.
float * com() const
Get com value.
void set_ori_right_ankle_confidence(const float new_ori_right_ankle_confidence)
Set ori_right_ankle_confidence value.
float * pos_right_elbow() const
Get pos_right_elbow value.
void set_ori_head_confidence(const float new_ori_head_confidence)
Set ori_head_confidence value.
void set_ori_right_shoulder_confidence(const float new_ori_right_shoulder_confidence)
Set ori_right_shoulder_confidence value.
void set_pos_left_foot_confidence(const float new_pos_left_foot_confidence)
Set pos_left_foot_confidence value.
size_t maxlenof_ori_right_hand_confidence() const
Get maximum length of ori_right_hand_confidence value.
float pos_head_confidence() const
Get pos_head_confidence value.
float * ori_right_collar() const
Get ori_right_collar value.
void set_pos_torso_confidence(const float new_pos_torso_confidence)
Set pos_torso_confidence value.
void set_ori_left_foot_confidence(const float new_ori_left_foot_confidence)
Set ori_left_foot_confidence value.
float * ori_waist() const
Get ori_waist value.
size_t maxlenof_ori_left_fingertip() const
Get maximum length of ori_left_fingertip value.
float ori_torso_confidence() const
Get ori_torso_confidence value.
void set_ori_torso(unsigned int index, const float new_ori_torso)
Set ori_torso value at given index.
void set_ori_right_foot(unsigned int index, const float new_ori_right_foot)
Set ori_right_foot value at given index.
void set_ori_right_knee_confidence(const float new_ori_right_knee_confidence)
Set ori_right_knee_confidence value.
void set_ori_waist(unsigned int index, const float new_ori_waist)
Set ori_waist value at given index.
float ori_left_shoulder_confidence() const
Get ori_left_shoulder_confidence value.
float * pos_right_wrist() const
Get pos_right_wrist value.
float pos_right_elbow_confidence() const
Get pos_right_elbow_confidence value.
size_t maxlenof_ori_right_elbow() const
Get maximum length of ori_right_elbow value.
size_t maxlenof_pos_left_hip() const
Get maximum length of pos_left_hip value.
float pos_waist_confidence() const
Get pos_waist_confidence value.
void set_ori_right_hip_confidence(const float new_ori_right_hip_confidence)
Set ori_right_hip_confidence value.
float * ori_right_fingertip() const
Get ori_right_fingertip value.
size_t maxlenof_pos_left_shoulder_confidence() const
Get maximum length of pos_left_shoulder_confidence value.
void set_ori_right_elbow_confidence(const float new_ori_right_elbow_confidence)
Set ori_right_elbow_confidence value.
void set_ori_left_hand_confidence(const float new_ori_left_hand_confidence)
Set ori_left_hand_confidence value.
float pos_left_elbow_confidence() const
Get pos_left_elbow_confidence value.
void set_ori_left_elbow(unsigned int index, const float new_ori_left_elbow)
Set ori_left_elbow value at given index.
float * pos_waist() const
Get pos_waist value.
size_t maxlenof_pos_neck_confidence() const
Get maximum length of pos_neck_confidence value.
size_t maxlenof_pos_left_hip_confidence() const
Get maximum length of pos_left_hip_confidence value.
size_t maxlenof_pos_right_collar() const
Get maximum length of pos_right_collar value.
float * ori_left_hip() const
Get ori_left_hip value.
size_t maxlenof_pos_right_wrist() const
Get maximum length of pos_right_wrist value.
float * pos_head() const
Get pos_head value.
float * ori_left_elbow() const
Get ori_left_elbow value.
size_t maxlenof_ori_right_collar() const
Get maximum length of ori_right_collar value.
void set_pos_left_hand(unsigned int index, const float new_pos_left_hand)
Set pos_left_hand value at given index.
float ori_left_foot_confidence() const
Get ori_left_foot_confidence value.
void set_pos_left_shoulder(unsigned int index, const float new_pos_left_shoulder)
Set pos_left_shoulder value at given index.
float pos_left_ankle_confidence() const
Get pos_left_ankle_confidence value.
void set_ori_left_elbow_confidence(const float new_ori_left_elbow_confidence)
Set ori_left_elbow_confidence value.
size_t maxlenof_pose() const
Get maximum length of pose value.
float * pos_right_hip() const
Get pos_right_hip value.
float * pos_left_wrist() const
Get pos_left_wrist value.
HumanSkeletonInterface Fawkes BlackBoard Interface.
size_t maxlenof_ori_neck_confidence() const
Get maximum length of ori_neck_confidence value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
float ori_right_foot_confidence() const
Get ori_right_foot_confidence value.
void set_pos_right_hand(unsigned int index, const float new_pos_right_hand)
Set pos_right_hand value at given index.
char * pose() const
Get pose value.
void set_pos_left_knee_confidence(const float new_pos_left_knee_confidence)
Set pos_left_knee_confidence value.
size_t maxlenof_ori_right_shoulder() const
Get maximum length of ori_right_shoulder value.
float * ori_right_ankle() const
Get ori_right_ankle value.
void set_ori_left_foot(unsigned int index, const float new_ori_left_foot)
Set ori_left_foot value at given index.
float * pos_left_foot() const
Get pos_left_foot value.
size_t maxlenof_pos_right_foot_confidence() const
Get maximum length of pos_right_foot_confidence value.
size_t maxlenof_ori_right_foot_confidence() const
Get maximum length of ori_right_foot_confidence value.
float * pos_right_shoulder() const
Get pos_right_shoulder value.
void set_ori_left_hand(unsigned int index, const float new_ori_left_hand)
Set ori_left_hand value at given index.
float ori_right_shoulder_confidence() const
Get ori_right_shoulder_confidence value.
void add_fieldinfo(interface_fieldtype_t type, const char *name, size_t length, void *value, const char *enumtype=0, const interface_enum_map_t *enum_map=0)
Add an entry to the info list.
float ori_left_hip_confidence() const
Get ori_left_hip_confidence value.
virtual Message * create_message(const char *type) const
Create message based on type name.
size_t maxlenof_pos_right_hand() const
Get maximum length of pos_right_hand value.
float * ori_head() const
Get ori_head value.
float * pos_right_hand() const
Get pos_right_hand value.
void set_pos_right_fingertip(unsigned int index, const float new_pos_right_fingertip)
Set pos_right_fingertip value at given index.
float ori_left_ankle_confidence() const
Get ori_left_ankle_confidence value.
size_t maxlenof_ori_waist_confidence() const
Get maximum length of ori_waist_confidence value.
void set_pos_left_ankle_confidence(const float new_pos_left_ankle_confidence)
Set pos_left_ankle_confidence value.
void set_pos_torso(unsigned int index, const float new_pos_torso)
Set pos_torso value at given index.
float * pos_right_collar() const
Get pos_right_collar value.
void set_ori_left_fingertip_confidence(const float new_ori_left_fingertip_confidence)
Set ori_left_fingertip_confidence value.
float pos_right_collar_confidence() const
Get pos_right_collar_confidence value.
size_t maxlenof_pos_left_hand() const
Get maximum length of pos_left_hand value.
size_t maxlenof_ori_left_foot() const
Get maximum length of ori_left_foot value.
size_t maxlenof_ori_right_fingertip() const
Get maximum length of ori_right_fingertip value.
float * pos_neck() const
Get pos_neck value.
const char * type() const
Get message type.
void set_pos_left_ankle(unsigned int index, const float new_pos_left_ankle)
Set pos_left_ankle value at given index.
size_t maxlenof_pos_left_fingertip() const
Get maximum length of pos_left_fingertip value.
32 bit unsigned integer field
size_t maxlenof_ori_left_shoulder_confidence() const
Get maximum length of ori_left_shoulder_confidence value.
field with interface specific enum type
void set_pos_right_ankle_confidence(const float new_pos_right_ankle_confidence)
Set pos_right_ankle_confidence value.
size_t maxlenof_visibility_history() const
Get maximum length of visibility_history value.
size_t maxlenof_pos_left_shoulder() const
Get maximum length of pos_left_shoulder value.
void set_ori_right_elbow(unsigned int index, const float new_ori_right_elbow)
Set ori_right_elbow value at given index.
void set_pos_right_hip_confidence(const float new_pos_right_hip_confidence)
Set pos_right_hip_confidence value.
size_t maxlenof_pos_left_ankle() const
Get maximum length of pos_left_ankle value.
float ori_right_wrist_confidence() const
Get ori_right_wrist_confidence value.
float pos_left_hip_confidence() const
Get pos_left_hip_confidence value.
float ori_left_collar_confidence() const
Get ori_left_collar_confidence value.
void set_ori_right_knee(unsigned int index, const float new_ori_right_knee)
Set ori_right_knee value at given index.
void set_ori_left_wrist_confidence(const float new_ori_left_wrist_confidence)
Set ori_left_wrist_confidence value.
float * pos_left_hand() const
Get pos_left_hand value.
void set_pos_right_ankle(unsigned int index, const float new_pos_right_ankle)
Set pos_right_ankle value at given index.
void set_pos_left_knee(unsigned int index, const float new_pos_left_knee)
Set pos_left_knee value at given index.
float * pos_left_knee() const
Get pos_left_knee value.
void set_pos_left_elbow(unsigned int index, const float new_pos_left_elbow)
Set pos_left_elbow value at given index.
size_t maxlenof_pos_head() const
Get maximum length of pos_head value.