Touch data
Begin with TouchLayout. Revo3 models and BOM variants can expose different modules, signals, and point counts; a single hard-coded layout is not portable.
- Read
hand.touch.layout. - Inspect module ID, region, layout ID, point count, and signals.
- Select read and value modes when required.
- Read snapshots or subscribe.
- Check each module's SampleState before optional fields.
TouchModuleData.points can be absent when a module is disabled, unavailable, not sampled, failed, or not represented as a point array in the current mode. Missing data is not a valid all-zero sample.
Public operations use the layout's module_id, which may be sparse and need not equal the array index. Taring changes calibration state and must run only under confirmed no-contact conditions. See the telemetry API.
Modes and taring
set_read_mode()changes the data representation returned by the device.set_value_mode()selects ADC or Force values when supported.tare()changes tactile zero state and must run only when the sensor is unloaded as required by the device.tare_status()reports progress for asynchronous taring.
Mode changes and taring are stateful operations. Record the layout, mode, firmware version, and result before and after the operation; do not change them implicitly inside an acquisition loop.