Docs: the HMC5883L heading — ESPHome's atan2(-x, y) is −180..180, the node now adds 360 to the negatives (they arrived as 0 in its 0..360 encoding)
This commit is contained in:
1 parent
190a8ad334
commit
f65eb98d18
2 files changed
+6
-3
No files matched your search
@@ -253,8 +253,9 @@ same node) isn't in the firmware yet:
|
||||
|
||||
Speed's scale also converts km/h to m/s (`300 / 65534 / 3.6`). 0x221 is
|
||||
the HMC5883L (TPDO 4 → `0x200 + node`): the field ±200 µT and ESPHome's
|
||||
heading 0..360°, plain `atan2(y, x)` — no tilt compensation or hard-iron
|
||||
calibration yet, so only roughly right standing level. The node
|
||||
heading 0..360° (ESPHome's plain `atan2(-x, y)` is −180..180, the node
|
||||
adds 360 to the negatives — a filter on `heading:`). No tilt compensation
|
||||
or hard-iron calibration yet, so only roughly right standing level. The node
|
||||
goes operational by itself, so no `nmt_start`.
|
||||
|
||||
=== Map data (one way)
|
||||
|
||||
Reference in new issue
Block a user