Resource reads
Discover resources and read pose, IMU, pressure and telemetry.
Resource reads
Discover resources
List devices, then inspect the selected device's resource catalog:
qnbot device list
qnbot device info --sn SN --jsondata.resources lists resource names, operations, prerequisites and readiness reasons. Use the short names from this catalog.
| Resource | Data | Operations |
|---|---|---|
health | Glove / Exo health snapshot | get |
status | Glove / Exo connection and runtime state | get, sub |
pose | Glove pose | get, sub |
imu | Glove IMU on supported connections | get, sub |
pressure | Pressure from verified direct HMP-MX connections | get, sub |
telemetry | Exo telemetry when the device supports it | get, 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 --jsonA 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
| Data | Units and ordering |
|---|---|
| Glove pose | Positions in meters; quaternions in XYZW order; fingertips in payload.hand.fingertips, wrist in payload.wrist |
| Glove IMU | Select 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 angles | Radians |
| Exo IMU | Acceleration in m/s², angular velocity in rad/s; missing values are null |
| HMP-MX pressure | 460 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 --jsonlConfirm 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.