openroad.navigation.magnetic_field
ZeroMQ transports the message as two frames: the UTF-8 topic followed by a JSON object.
Schema version: 1
Magnetic field strength is expressed in microteslas (µT). Vector components are expressed in the source sensor coordinate frame. Heading, declination correction, mounting alignment, and sensor fusion are intentionally outside this raw-measurement contract.
Timestamp uses the common OpenRoadCode timestamp contract:
| Field | JSON type | Unit | Meaning |
|---|---|---|---|
| magnetic_field_ut | vector object | µT | Raw three-axis magnetic-field measurement |
The vector contains finite numeric x, y, and z fields.
Producers normalize measurements to microteslas before publication. source identifies the hardware/provider implementation. Producers publish measurements, not derived compass headings.
Consumers validate the schema before use. Consumers requiring heading or attitude must combine this measurement with appropriate calibration, frame alignment, magnetic declination, and other navigation sensors as required.
Version 1 is the initial public magnetic-field contract. Breaking semantic or structural changes require a new schema version.