Qnbot CLIResource reads

Resource reads

Discover resources and read pose, IMU, pressure and telemetry.

Latest documentation

Resource reads

Discover resources

List devices, then inspect the selected device's resource catalog:

qnbot device list
qnbot device info --sn SN --json

data.resources lists resource names, operations, prerequisites and readiness reasons. Use the short names from this catalog.

ResourceDataOperations
healthGlove / Exo health snapshotget
statusGlove / Exo connection and runtime stateget, sub
poseGlove poseget, sub
imuGlove IMU on supported connectionsget, sub
pressurePressure from verified direct HMP-MX connectionsget, sub
telemetryExo telemetry when the device supports itget, sub

Read one sample

qnbot device get pose --handedness left --timeout-s 5 --json
qnbot device get imu --sn SN --json
qnbot device get pressure --sn SN --json
qnbot device get telemetry -d exo --port PORT --timeout-s 5 --json

A successful result contains device, resource, data_type and sample inside data. The command releases the device session after reading. --timeout-s is the first-sample wait after startup, defaults to 5 seconds and accepts finite positive values. Expiry returns FirstFrameTimeout. See Device management for selection and Data subscriptions for continuous data.

Units

DataUnits and ordering
Glove posePositions in meters; quaternions in XYZW order; fingertips in payload.hand.fingertips, wrist in payload.wrist
Glove IMUSelect sensors by payload.imus[].id/location; values.units=raw_counts means raw counts, while physical uses gyro_mdps (millidegrees/s) and accel_mg (milli-g)
Exo joint anglesRadians
Exo IMUAcceleration in m/s², angular velocity in rad/s; missing values are null
HMP-MX pressure460 uint8 raw readings and estimated kPa in estimated_kpa, in the same order

Check each component’s valid, fresh and time fields before using it. hand, wrist and magnetometer can be null.

Glove IMU availability depends on the connection. Ordinary direct gloves require a supported connection and firmware 1.1.1.0 or later; HMP-MX uses its own protocol. Use the resources returned by device info.

Inspect pressure

qnbot device info --sn SN
qnbot device get pressure --sn SN
qnbot device sub pressure --sn SN --count 10 --jsonl

Confirm the model is VetraGlove HMP-MX and the catalog includes pressure. Human output shows the raw minimum, mean, maximum and peak channel. Channel indices are 0–459 in SDK array order. JSON retains the full arrays and precision.

estimated_kpa uses the vendor's whole-palm curve. Raw values 107–255 have the same estimate of about 40.0075 kPa; inspect raw readings as well when comparing higher pressure. source_time is device milliseconds, or null when absent. observed_at is monotonic milliseconds within the current SDK instance.