SDKJava (Android) SDK

Coordinate frames & poses

Android Java SDK: Coordinate frames & poses

Current version · 2.0.0

Coordinate frames & poses

Hand and wrist frames

GlovePose.payload contains optional hand and wrist components. Read fingertips from hand.fingertips in the frame declared by hand.coordinateFrame. Read wrist position from wrist.position in meters and orientation from wrist.quaternionXyzw in XYZW order, using wrist.coordinateFrame.

Hand and wrist update independently. Check component presence, each component's timestampMs and fresh, and the finger validity mask or wrist valid flag before composing observations. Helix can provide a separate wrist pose. Establish transforms to the rendering scene from the device-declared frames. See Reading raw data for fields.

HandSkeletonPose coordinate constraints

HandSkeletonPose.coordinateFrame is always wrist_local, and positions use wrist-local space. The app applies the hand root transform when rendering into world space.

FieldConstraint
coordinateFrameAlways wrist_local
namesFixed set of 25 nodes in a fixed order
positionsLocal[x, y, z] per node, in meters
orientationsLocalXyzw[x, y, z, w] per node, quaternion order xyzw
timestampMsSource timeline, in milliseconds
handSideLeft or right hand

Node 0 is the wrist: positionsLocal[0] is (0, 0, 0), and orientationsLocalXyzw[0] is (0, 0, 0, 1).

Pose representation

Quaternions are xyzw; positions use meters. HandSkeletonPose.timestampMs uses the source timeline and matches Sample.sourceTime.

Local to world

  1. Read HandSkeletonPose from Skeleton.pose().
  2. Build the root transform (translation + rotation) from the app's wrist pose.
  3. For each joint, compute world = rootTransform * positionsLocal[i], then connect and render the joints according to names.

Do not treat positionsLocal as world coordinates, and do not subtract observedAt from sourceTime to estimate latency.

GlovePose node poses follow the delivery's convention; the fixed constraints on this page apply only to HandSkeletonPose.