Datasets:

ArXiv:
License:
File size: 2,236 Bytes
a199a9b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.


class XSensConstants:
    """
    \brief Transformations segment_tXYZ and segment_qWXYZ are defined as
           from XSens segment/part coordinates to XSens world coordinates.
           See XSens manual for details.
    """

    num_parts: int = 23
    num_bones: int = 22
    num_sensors: int = 17
    k_timestamps_us: str = "timestamps_us"
    k_frame_count: str = "frameCount"
    k_framerate: str = "frameRate"
    k_part_tXYZ: str = "segment_tXYZ"
    k_part_qWXYZ: str = "segment_qWXYZ"
    k_ipose_part_tXYZ: str = "identity_segment_tXYZ"
    k_ipose_part_qWXYZ: str = "identity_segment_qWXYZ"
    k_tpose_part_tXYZ: str = "tpose_segment_tXYZ"
    k_tpose_part_qWXYZ: str = "tpose_segment_qWXYZ"
    k_foot_contacts: str = "foot_contacts"
    k_sensor_tXYZ: str = "sensor_tXYZ"
    k_sensor_qWXYZ: str = "sensor_qWXYZ"
    part_names = [
        "Pelvis",
        "L5",
        "L3",
        "T12",
        "T8",
        "Neck",
        "Head",
        "R_Shoulder",
        "R_UpperArm",
        "R_Forearm",
        "R_Hand",
        "L_Shoulder",
        "L_UpperArm",
        "L_Forearm",
        "L_Hand",
        "R_UpperLeg",
        "R_LowerLeg",
        "R_Foot",
        "R_Toe",
        "L_UpperLeg",
        "L_LowerLeg",
        "L_Foot",
        "L_Toe",
    ]  # num = 23
    kintree_parents: list[int] = [
        -1,
        0,
        1,
        2,
        3,
        4,
        5,
        4,
        7,
        8,
        9,
        4,
        11,
        12,
        13,
        0,
        15,
        16,
        17,
        0,
        19,
        20,
        21,
    ]  # num = 23
    sensor_names: list[int] = [
        "Pelvis",
        "T8",
        "Head",
        "RightShoulder",
        "RightUpperArm",
        "RightForeArm",
        "RightHand",
        "LeftShoulder",
        "LeftUpperArm",
        "LeftForeArm",
        "LeftHand",
        "RightUpperLeg",
        "RightLowerLeg",
        "RightFoot",
        "LeftUpperLeg",
        "LeftLowerLeg",
        "LeftFoot",
    ]  # num = 17