IMU channel styling example
A presentation-only template for user_trace channels; no matching firmware producer is supplied.
Download example JSON · GitHub source · Authoring examples
Authoring example · Descriptor com.bkpt.demo.imu · version 0.1.0 · domain API 1.
Purpose and prerequisites
An authoring example for existing user_trace channels. No matching recorder producer was found in the current firmware examples. It neither polls the STM32WB sensor nor derives heading, temperature or motion from acceleration. Adapt the names and units to your own recorder producer before use.
Engineering interpretation
This template demonstrates different display hints and ordered prefix matching. The acceleration prefix is broad (imu.a*), so constrain it if your own firmware uses that prefix for unrelated values. The file must not be enabled as a replacement for the actual six-axis sensor domain.
Cards and tables
This descriptor declares no dedicated cards or tables. Its channel rules below control existing trace presentation.
Channel presentation rules
Rules apply in order: the first match supplies metadata. No new measurements are created.
| MATCH | MEANING | UNIT | DISPLAY HINT | GROUP |
|---|---|---|---|---|
user_trace / imu.heading | Producer-supplied heading in degrees with angle display. No compass reference, zero direction or wrap convention is defined here. | deg | angle | Orientation |
user_trace / imu.temp | Producer-supplied temperature in degrees Celsius with gauge display. Sensor/calibration and acceptable range are unspecified. | degC | gauge | Environment |
user_trace / imu.motion | Producer-supplied value with toggle display. No motion threshold or algorithm is defined. | From producer | toggle | Motion |
user_trace / pwr.stage | Producer-supplied power-stage value with bar display. No physical power unit or stage dictionary is defined. | From producer | bar | Power |
user_trace / imu.a* | Any remaining user_trace name starting imu.a is labeled m/s2 and grouped as Accelerometer. This does not convert mg into m/s2. | m/s2 | From producer | Accelerometer |
user_trace / imu.* | Fallback grouping for remaining imu.* user_trace channels. Values and units remain the producer’s responsibility. | From producer | From producer | IMU |
Findings
This domain declares no automatic findings. Use the fields and the interpretation above; absence of a finding does not establish healthy operation.
Definition and contribution
The descriptor and native metadata-matching tests establish these presentation rules. There is no supplied firmware/data producer from which to infer heading reference, temperature sensor, motion threshold or power-stage states.
View or propose changes to the canonical JSON. Contribution guide.
Download SHA-256: 2e035d24fe22243c498767fde4af38eea74f5c8de9c6aa90dd919e89e6331b7a.