20 static constexpr std::string_view kModelName =
"A";
23 static constexpr size_t kRobotDOF = 24;
31 static constexpr std::array<std::string_view, kRobotDOF> kRobotJointNames = {
32 "right_wheel",
"left_wheel",
"torso_0",
"torso_1",
"torso_2",
"torso_3",
33 "torso_4",
"torso_5",
"right_arm_0",
"right_arm_1",
"right_arm_2",
"right_arm_3",
34 "right_arm_4",
"right_arm_5",
"right_arm_6",
"left_arm_0",
"left_arm_1",
"left_arm_2",
35 "left_arm_3",
"left_arm_4",
"left_arm_5",
"left_arm_6",
"head_0",
"head_1"};
42 static constexpr std::array<unsigned int, 2> kMobilityIdx = {0, 1};
49 static constexpr std::array<unsigned int, 20> kBodyIdx = {2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
50 12, 13, 14, 15, 16, 17, 18, 19, 20, 21};
53 static constexpr std::array<unsigned int, 2> kHeadIdx = {22, 23};
56 static constexpr std::array<unsigned int, 7> kRightArmIdx = {8, 9, 10, 11, 12, 13, 14};
59 static constexpr std::array<unsigned int, 7> kLeftArmIdx = {15, 16, 17, 18, 19, 20, 21};
62 static constexpr std::array<unsigned int, 6> kTorsoIdx = {2, 3, 4, 5, 6, 7};
69 static constexpr std::array<unsigned int, 20> kVelocityEstimationRequiredIdx = kBodyIdx;
72 static constexpr double kControlPeriod = 0.002;
90 static constexpr std::string_view kModelName =
"M";
92 static constexpr size_t kRobotDOF = 26;
94 static constexpr std::array<std::string_view, kRobotDOF> kRobotJointNames = {
95 "wheel_fr",
"wheel_fl",
"wheel_rr",
"wheel_rl",
"torso_0",
"torso_1",
"torso_2",
96 "torso_3",
"torso_4",
"torso_5",
"right_arm_0",
"right_arm_1",
"right_arm_2",
"right_arm_3",
97 "right_arm_4",
"right_arm_5",
"right_arm_6",
"left_arm_0",
"left_arm_1",
"left_arm_2",
"left_arm_3",
98 "left_arm_4",
"left_arm_5",
"left_arm_6",
"head_0",
"head_1"};
99 static constexpr std::array<unsigned int, 4> kMobilityIdx = {0, 1, 2, 3};
100 static constexpr std::array<unsigned int, 20> kBodyIdx = {4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
101 14, 15, 16, 17, 18, 19, 20, 21, 22, 23};
102 static constexpr std::array<unsigned int, 2> kHeadIdx = {24, 25};
103 static constexpr std::array<unsigned int, 7> kRightArmIdx = {10, 11, 12, 13, 14, 15, 16};
104 static constexpr std::array<unsigned int, 7> kLeftArmIdx = {17, 18, 19, 20, 21, 22, 23};
105 static constexpr std::array<unsigned int, 6> kTorsoIdx = {4, 5, 6, 7, 8, 9};
106 static constexpr std::array<unsigned int, 20> kVelocityEstimationRequiredIdx = kBodyIdx;
108 static constexpr double kControlPeriod = 0.002;
118class RBY1_SDK_API
UB {
120 static constexpr std::string_view kModelName =
"UB";
122 static constexpr size_t kRobotDOF = 18;
124 static constexpr std::array<std::string_view, kRobotDOF> kRobotJointNames = {
125 "torso_hp",
"torso_5",
"right_arm_0",
"right_arm_1",
"right_arm_2",
"right_arm_3",
126 "right_arm_4",
"right_arm_5",
"right_arm_6",
"left_arm_0",
"left_arm_1",
"left_arm_2",
127 "left_arm_3",
"left_arm_4",
"left_arm_5",
"left_arm_6",
"head_0",
"head_1"};
128 static constexpr std::array<unsigned int, 0> kMobilityIdx = {};
129 static constexpr std::array<unsigned int, 16> kBodyIdx = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
130 static constexpr std::array<unsigned int, 2> kHeadIdx = {16, 17};
131 static constexpr std::array<unsigned int, 7> kRightArmIdx = {2, 3, 4, 5, 6, 7, 8};
132 static constexpr std::array<unsigned int, 7> kLeftArmIdx = {9, 10, 11, 12, 13, 14, 15};
133 static constexpr std::array<unsigned int, 2> kTorsoIdx = {0, 1};
134 static constexpr std::array<unsigned int, 16> kVelocityEstimationRequiredIdx = kBodyIdx;
136 static constexpr double kControlPeriod = 0.002;