API referenceVetraGlove ProJava (Android)

Frames and timestamps

Data models

Current version · 2.0.0

GlovePose

com.qnbot.sdk.glove.GlovePose

Field / enum value
final TelemetryMeta meta
final GlovePosePayload payload
final Map<String, Object> quality

GloveHandPose

FieldTypeDescription
fingertipsMap<GloveFinger, GloveNodePose>Fingertip poses in metres and XYZW
gloveIdStringGlove data identifier
handSideSideHand side
fingerNamesList<GloveFinger>Current finger order
rawValidMaskMap<GloveFinger, Boolean>Raw-data validity per finger
heldMaskMap<GloveFinger, Boolean>Whether each finger retains its previous valid value
qualityFlagsList<String>Hand quality flags
coordinateFrameStringPhysical glove: device_hand; external hand input: external_hand
freshbooleanWhether the component updated in this snapshot; latest() does not consume this flag
timestampMsdoubleComponent time in milliseconds
receivedMonotonicMsdoubleMonotonic receipt time in milliseconds
sessionLongOptional device session identifier
syncLongOptional synchronization identifier
pairSequenceLongOptional pair sequence
etGloveHelixEmfTimeOptional device event-time information

GloveWristPose

FieldTypeDescription
positionList<Double>Optional position in metres
quaternionXyzwList<Double>Optional XYZW quaternion
validbooleanWhether the wrist observation is valid; invalid coordinates are absent
flagslongDevice status flags
errorslongDevice error flags
qualityDoubleOptional quality value
coordinateFrameStringdevice_wrist
freshbooleanWhether the component updated in this snapshot; latest() does not consume this flag
timestampMsdoubleComponent time in milliseconds
receivedMonotonicMsdoubleMonotonic receipt time in milliseconds
sessionLongOptional device session identifier
syncLongOptional synchronization identifier
pairSequenceLongOptional pair sequence
etGloveHelixEmfTimeOptional device event-time information

GloveHelixEmfTime

Field / methodTypeDescription
vintEvent-time format version
clockStringDevice clock identifier
spanList<Long>Device-reported range values, preserved as reported
ref()doubleRecommended reference time accessor in fractional device-clock milliseconds
error()DoubleRecommended optional timing error accessor in milliseconds (null means unknown)
bError()DoubleRecommended optional basis timing error accessor in milliseconds (0.0 is a valid zero)
basisStringDevice-reported time basis
filteredintDevice-reported filtering marker
sampleHzlongSample rate in Hz
hdrGList<List<Long>>Device-reported 6 × 2 metadata
refUslongReference time in microseconds (marked @Deprecated; use ref())
errorUsLongOptional time error in microseconds (marked @Deprecated; use error())
bErrorUsLongOptional basis-time error in microseconds (marked @Deprecated; use bError())
refMs() / errorMs() / bErrorMs()double / DoubleDeprecated millisecond accessor aliases (marked @Deprecated; use ref() / error() / bError())

GlovePosePayload

FieldTypeDescription
handGloveHandPoseOptional hand component
wristGloveWristPoseOptional independent wrist component

GloveNodePose

com.qnbot.sdk.glove.GloveNodePose

Field / enum value
final List<Double> position
final List<Double> quaternionXyzw

GloveNodePose.of

static GloveNodePose of(List<Double> position, List<Double> quaternionXyzw)

GloveFinger

com.qnbot.sdk.glove.GloveFinger

Field / enum value
THUMB / INDEX / MIDDLE / RING / PINKY

GloveImu

com.qnbot.sdk.glove.GloveImu

Field / enum value
final TelemetryMeta meta
final GloveImuPayload payload
final Map<String, Object> quality

GlovePressure

GlovePressure returns readings and estimatedKpa 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
readingsList<Integer>460 raw readings from 0 to 255 in device order.
estimatedKpaList<Double>460 kPa estimates in matching point order, using an average palm curve.

GloveImuSample

FieldTypeDescription
idintSensor identifier, not an array position
locationGloveImuLocationSensor location; UNKNOWN when not identified
validbooleanWhether this sensor observation is valid
freshbooleanUpdate flag in this snapshot; latest() does not consume it
flagsLongOptional device status flags
ageMsIntegerOptional data age in milliseconds
valuesGloveImuValuesRaw counts or physical values; check the type first

GloveMagnetometer

FieldTypeDescription
validbooleanWhether the observation is valid
xIntegerOptional X-axis raw count; valid zero is retained
yIntegerOptional Y-axis raw count
zIntegerOptional Z-axis raw count
unitsStringraw_counts

GloveEmfChannel

FieldTypeDescription
channelIdintEMF channel identifier.
liList<List<Long>>Low-frequency I signed integral matrix, 3 × 3.
lqList<List<Long>>Low-frequency Q signed integral matrix, 3 × 3.
hiList<List<Long>>High-frequency I signed integral matrix, 3 × 3.
hqList<List<Long>>High-frequency Q signed integral matrix, 3 × 3.
samplesLongOptional sample count.
lowUsedMaskIntegerOptional low-frequency usage mask.
invalidMaskIntegerOptional invalid-value mask.

GloveEmfPayload

FieldTypeDescription
unitsStringdemodulated_integral, demodulated integrals.
sessionlongDevice session identifier when available.
syncLongOptional device synchronization identifier.
frameSequenceLongOptional frame sequence corresponding to the hand’s pairSequence.
droppedLongOptional dropped-frame count.
etGloveHelixEmfTimeOptional device EMF event timing.
channelsList<GloveEmfChannel>Raw integral matrices for each EMF channel.

GloveEmf

FieldTypeDescription
metaTelemetryMetaSource, time and frame identifiers.
payloadGloveEmfPayloadTyped channel content.
qualityMap<String, Object>Device quality information, preserving missing values.

GloveImuValues

units is GloveImuValues.Units.RAW_COUNTS or PHYSICAL. Use instanceof to distinguish the following value types.

GloveImuLocation

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

GloveImuValues.RawCounts

FieldTypeDescription
gyroscopeRawList<Integer>Three-axis raw gyroscope counts
accelerometerRawList<Integer>Three-axis raw accelerometer counts

GloveImuValues.Physical

FieldTypeDescription
gyroMdpsList<Integer>Optional three-axis angular velocity in thousandths of a degree/second
accelMgList<Integer>Optional three-axis acceleration in thousandths of g

GloveImuPayload

FieldTypeDescription
imusList<GloveImuSample>Sensor observations selected by id and location
magnetometerGloveMagnetometerOptional magnetometer observation
sessionLongOptional device session identifier
packetSequenceLongOptional packet sequence
syncLongOptional synchronization identifier
deviceTsMsLongOptional device time in milliseconds
newMaskIntegerOptional sensor-update mask

GloveStatus

com.qnbot.sdk.glove.GloveStatus

Field / enum value
final String deviceType
final boolean connected
final boolean stale
final double timestamp
final String lastError
final long reconnectCount
final Map<String, Object> fields

ExternalGloveFrame

com.qnbot.sdk.glove.ExternalGloveFrame

Field / enum value
final GloveNodePose thumb
final GloveNodePose index
final GloveNodePose middle
final GloveNodePose ring
final GloveNodePose pinky
final Double timestampMs

ExternalGloveFrame.ExternalGloveFrame

ExternalGloveFrame( GloveNodePose thumb, GloveNodePose index, GloveNodePose middle, GloveNodePose ring, GloveNodePose pinky, Double timestampMs)

HandJointCommand

com.qnbot.sdk.glove.HandJointCommand

Field / enum value
final String target
final Map<String, Double> joints
final double timestamp
final String source
final Map<String, Object> metadata

TelemetryMeta

com.qnbot.sdk.channel.TelemetryMeta

Field / enum value
final String source
final double timestamp
final Long sequence
final String frameId