API referenceVetraGlove ProPython

Frames and timestamps

Data models

Current version · 2.0.0

Nullable fields may be None; empty sequences and mappings are described separately.

Sample[T]

latest() and next() obtain a Sample[T]; subscribe() returns a Subscription, and the registered callback receives a Sample[T]. T is a concrete data type such as GlovePose, GloveImu, HandJointCommand or GloveStatus; value holds that data, and the remaining fields describe the SDK publish sequence and time.

Fields

FieldTypeNullableDescription
valueTNoCurrent business data
sequenceintNoMonotonically increasing SDK sequence number within the same kind of data
source_timefloat | NoneYesData source time; None when the data source does not provide it
observed_atfloatNoMonotonic milliseconds since SDK creation

source_time is optional producer time in milliseconds: SDK-generated Glove time follows Unix milliseconds or the reference set by sync_time(), while explicit external input uses the caller’s clock domain. observed_at is monotonic milliseconds since SDK creation, not Unix time.

TelemetryMeta

TelemetryMeta is the source and frame information attached to raw glove data, appearing as fields such as GlovePose.meta and GloveImu.meta. It covers both physical glove data and external input submitted through ExternalConnection, making it easy to associate the source, device time and frame identifier.

Fields

FieldTypeNullableDescription
sourcestrNoThe source ID that produced this data
timestampfloatNoData timestamp
sequenceint | NoneYesThe sequence number provided by the device or data source
frame_idstr | NoneYesThe frame identifier provided by the device or data source

GloveNodePose

GloveNodePose represents the position and rotation of one hand node. It is used both to construct the fingertip input of ExternalGloveFrame and as the field type of fingertip poses in GloveHandPose.fingertips.

Fields

FieldTypeNullableDescription
positiontuple[float, float, float]NoThree-dimensional position, in meters
quaternion_xyzwtuple[float, float, float, float]NoRotation quaternion in XYZW order

ExternalGloveFrame

ExternalGloveFrame is the external hand frame passed to push_frame(), used to submit the poses of five fingertips and an optional timestamp when there is no physical glove input.

Fields

FieldTypeNullableDescription
thumbGloveNodePoseNoThumb fingertip pose
indexGloveNodePoseNoIndex fingertip pose
middleGloveNodePoseNoMiddle fingertip pose
ringGloveNodePoseNoRing fingertip pose
pinkyGloveNodePoseNoPinky fingertip pose
timestamp_msfloat | NoneYesPreferred input; a finite millisecond timestamp. When omitted, the current shared time reference is used; see Timestamps & external time sync for the time semantics
timestamp_secfloat | NoneYesDeprecated compatibility input; the SDK multiplies it by 1000, and it must not be set together with timestamp_ms

GloveHandPose

FieldTypeDescription
fingertipsdict[GloveFinger, GloveNodePose]Fingertip poses in metres and XYZW
glove_idstrGlove data identifier
hand_sideSideHand side
finger_namestuple[GloveFinger, ...]Current finger order
raw_valid_maskdict[GloveFinger, bool]Raw-data validity per finger
held_maskdict[GloveFinger, bool]Whether each finger retains its previous valid value
quality_flagstuple[str, ...]Hand quality flags
coordinate_framestrPhysical glove: device_hand; external hand input: external_hand
freshboolWhether the component updated in this snapshot; latest() does not consume this flag
timestamp_msfloatComponent time in milliseconds
received_monotonic_msfloatMonotonic receipt time in milliseconds
sessionint | NoneOptional device session identifier
syncint | NoneOptional synchronization identifier
pair_sequenceint | NoneOptional pair sequence
etHelixEmfTime | NoneOptional device event-time information

GloveWristPose

FieldTypeDescription
positiontuple[float, float, float] | NoneOptional position in metres
quaternion_xyzwtuple[float, float, float, float] | NoneOptional XYZW quaternion
validboolWhether the wrist observation is valid; invalid coordinates are absent
flagsintDevice status flags
errorsintDevice error flags
qualityfloat | NoneOptional quality value
coordinate_framestrdevice_wrist
freshboolWhether the component updated in this snapshot; latest() does not consume this flag
timestamp_msfloatComponent time in milliseconds
received_monotonic_msfloatMonotonic receipt time in milliseconds
sessionint | NoneOptional device session identifier
syncint | NoneOptional synchronization identifier
pair_sequenceint | NoneOptional pair sequence
etHelixEmfTime | NoneOptional device event-time information

HelixEmfTime

Field / propertyTypeDescription
vintEvent-time format version
clockstrDevice clock identifier
spantuple[int, int]Device-reported range values, preserved as reported
reffloatRecommended reference time property in fractional device-clock milliseconds
errorfloat | NoneRecommended optional timing error property in milliseconds (None means unknown)
b_errorfloat | NoneRecommended optional basis timing error property in milliseconds (0.0 is a valid zero)
basisstrDevice-reported time basis
filteredintDevice-reported filtering marker
sample_hzintSample rate in Hz
hdr_gtuple[tuple[int, int], ...]Device-reported 6 × 2 metadata
ref_usintReference time in microseconds (deprecated; use ref)
error_usint | NoneOptional time error in microseconds (deprecated; use error)
b_error_usint | NoneOptional basis-time error in microseconds (deprecated; use b_error)
ref_ms / error_ms / b_error_msfloat / float | NoneDeprecated millisecond property aliases (emit DeprecationWarning; use ref / error / b_error)

GlovePosePayload

FieldTypeDescription
handGloveHandPose | NoneOptional hand component
wristGloveWristPose | NoneOptional independent wrist component

GlovePose

FieldTypeDescription
metaTelemetryMetaSource, time and frame identifiers
payloadGlovePosePayloadHand and wrist components
qualitydict[str, object]Extensible quality information

GloveImuRawCounts

FieldTypeDescription
gyroscope_rawtuple[int, int, int]Three-axis raw gyroscope counts
accelerometer_rawtuple[int, int, int]Three-axis raw accelerometer counts

GloveImuPhysicalValues

FieldTypeDescription
gyro_mdpstuple[int, int, int] | NoneOptional three-axis angular velocity in thousandths of a degree/second
accel_mgtuple[int, int, int] | NoneOptional three-axis acceleration in thousandths of g

GloveImuSample

FieldTypeDescription
idintSensor identifier, not an array position
locationGloveImuLocationSensor location; unknown when not identified
validboolWhether this sensor observation is valid
freshboolUpdate flag in this snapshot; latest() does not consume it
flagsint | NoneOptional device status flags
age_msint | NoneOptional data age in milliseconds
valuesGloveImuRawCounts | GloveImuPhysicalValuesRaw counts or physical values; check the type first

GloveMagnetometer

FieldTypeDescription
validboolWhether the observation is valid
xint | NoneOptional X-axis raw count; valid zero is retained
yint | NoneOptional Y-axis raw count
zint | NoneOptional Z-axis raw count
unitsstrraw_counts

GloveImuLocation

UNKNOWN / BOARD / THUMB_TIP / INDEX_TIP / MIDDLE_TIP / RING_TIP / PINKY_TIP / THUMB_BACK / INDEX_BACK / MIDDLE_BACK / RING_BACK / PINKY_BACK / WRIST

GloveEmfChannel

FieldTypeDescription
channel_idintEMF channel identifier.
lituple[tuple[int, int, int], ...]Low-frequency I signed integral matrix, 3 × 3.
lqtuple[tuple[int, int, int], ...]Low-frequency Q signed integral matrix, 3 × 3.
hituple[tuple[int, int, int], ...]High-frequency I signed integral matrix, 3 × 3.
hqtuple[tuple[int, int, int], ...]High-frequency Q signed integral matrix, 3 × 3.
samplesint | NoneOptional sample count.
low_used_maskint | NoneOptional low-frequency usage mask.
invalid_maskint | NoneOptional invalid-value mask.

GloveEmfPayload

FieldTypeDescription
unitsstrdemodulated_integral, demodulated integrals.
sessionintDevice session identifier when available.
syncint | NoneDevice synchronization identifier when available.
frame_sequenceint | NoneFrame sequence corresponding to the hand pair_sequence.
etHelixEmfTime | NoneOptional device EMF event timing.
droppedint | NoneOptional dropped-frame count.
channelstuple[GloveEmfChannel, ...]Raw integral matrices for each EMF channel.

GloveEmf

FieldTypeDescription
metaTelemetryMetaSource, time and frame identifiers.
payloadGloveEmfPayloadTyped channel content.
qualitydict[str, object]Device quality information, preserving missing values.

GloveImuValues

GloveImuValues combines GloveImuRawCounts and GloveImuPhysicalValues. Check the type to distinguish raw counts from mdps/mg and preserve missing physical vectors.

GloveImuPayload

FieldTypeDescription
imustuple[GloveImuSample, ...]Sensor observations selected by id and location
magnetometerGloveMagnetometer | NoneOptional magnetometer observation
sessionint | NoneOptional device session identifier
packet_sequenceint | NoneOptional packet sequence
syncint | NoneOptional synchronization identifier
device_ts_msint | NoneOptional device time in milliseconds
new_maskint | NoneOptional sensor-update mask

GloveImu

FieldTypeDescription
metaTelemetryMetaSource, time and frame identifiers
payloadGloveImuPayloadPer-sensor IMU and optional magnetometer
qualitydict[str, object]Extensible quality information

GlovePressure

GlovePressure returns readings and estimated_kpa in matching 460-point order. kPa estimates use an average palm curve, with raw values 107–255 sharing an approximately 40.01 kPa software ceiling. Frames without pressure produce no new sample.

FieldTypeDescription
readingstuple[int, ...]460 raw readings from 0 to 255 in device order.
estimated_kpatuple[float, ...]460 kPa estimates in matching point order, using an average palm curve.