The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

gui/remote: add pose for XR_EXT_hand_tracking test

+43
+43
src/xrt/state_trackers/gui/gui_scene_remote.c
··· 177 177 #endif 178 178 } 179 179 180 + if (igButton("XR_EXT_hand_tracking Touch Index Fingertips", zero_dims)) { 181 + d->left.pose.position.x = -0.0250000f; 182 + d->left.pose.position.y = 1.300000f; 183 + d->left.pose.position.z = -0.500000f; 184 + d->left.pose.orientation.x = 0.000000f; 185 + d->left.pose.orientation.y = 0.000000f; 186 + d->left.pose.orientation.z = 0.000000f; 187 + d->left.pose.orientation.w = 1.000000f; 188 + d->left.linear_velocity.x = 0.000000f; 189 + d->left.linear_velocity.y = 0.000000f; 190 + d->left.linear_velocity.z = -1.830000f; 191 + d->left.angular_velocity.x = -16.900000f; 192 + d->left.angular_velocity.y = 0.000000f; 193 + d->left.angular_velocity.z = 0.000000f; 194 + 195 + d->left.hand_curl[0] = 0.0f; 196 + d->left.hand_curl[1] = 0.0f; 197 + d->left.hand_curl[2] = 0.0f; 198 + d->left.hand_curl[3] = 0.0f; 199 + d->left.hand_curl[4] = 0.0f; 200 + 201 + 202 + d->right.pose.position.x = 0.0250000f; 203 + d->right.pose.position.y = 1.300000f; 204 + d->right.pose.position.z = -0.500000f; 205 + d->right.pose.orientation.x = 0.000000f; 206 + d->right.pose.orientation.y = 0.000000f; 207 + d->right.pose.orientation.z = 0.000000f; 208 + d->right.pose.orientation.w = 1.000000f; 209 + d->right.linear_velocity.x = 0.000000f; 210 + d->right.linear_velocity.y = 0.000000f; 211 + d->right.linear_velocity.z = -1.830000f; 212 + d->right.angular_velocity.x = -16.900000f; 213 + d->right.angular_velocity.y = 0.000000f; 214 + d->right.angular_velocity.z = 0.000000f; 215 + 216 + d->right.hand_curl[0] = 0.0f; 217 + d->right.hand_curl[1] = 0.0f; 218 + d->right.hand_curl[2] = 0.0f; 219 + d->right.hand_curl[3] = 0.0f; 220 + d->right.hand_curl[4] = 0.0f; 221 + } 222 + 180 223 if (igButton("Dump left", zero_dims)) { 181 224 U_LOG_RAW( 182 225 "d->left.pose.position.x = %ff;\n"