Skip to content

State, Touch, and Health

State

snapshot() returns HandState with position, velocity, current, operating state, faults, and timestamp. subscribe() returns a StateSubscription that must be closed.

Touch

Touch covers layout, snapshots, subscriptions, module enablement, read mode, value mode, taring, status, and module maintenance. Key types include TouchLayout, TouchModuleLayout, TouchFrame, TouchModuleData, TouchForce3D, TouchTorque2D, regions, signals, and sample states. The C ABI names are CRevo3TouchForce3D and CRevo3TouchTorque2D.

Interpret optional data together with layout capabilities and SampleState.

The TouchModuleData field names remain force3d and torque2d. The type names express the physical quantities while the field names and dimensions remain unchanged.

Health

HealthSnapshot covers system state, error code, electrical values, temperature, faulted motor count, and safety state. Health also exposes motor temperatures, online masks, subscriptions, and runtime statistics.

Use the official API specification for exact fields and clock semantics.

Help