Skip to content

Position history: groundSpeed displayed in wrong units (cm/s shown as km/h) #3798

Description

@Yeraze

Bug Report

MeshMonitor version: 4.11.6 (and earlier versions confirmed affected)

Summary

Position segment speed is displayed in km/h but the raw Meshtastic groundSpeed field is in cm/s. MeshMonitor is rendering the raw value without unit conversion, producing wildly inflated speed readings.

Evidence

Raw position packets from packet monitor:

{ "groundSpeed": 90, ... }
{ "groundSpeed": 96, ... }

MeshMonitor displays these as 90 km/h and 96 km/h.

Correct conversion: 90 cm/s × 0.036 = 3.24 km/h (walking pace — matches expected behavior for node in question).

Expected behavior

groundSpeed (cm/s) should be multiplied by 0.036 before display as km/h.

Reproduction

  1. Open position history for a mobile node
  2. Click a position segment to view speed
  3. Compare displayed value against raw packet value in Packet Monitor

Additional context

  • Affected in position history segment popups (reported as "90 km/h / 94 km/h / 324 km/h")
  • The ground_speed field in Meshtastic protobuf is defined in cm/s
  • This was initially misattributed to bad GPS data; raw packet values confirm it's a unit conversion bug

Authored by NodeZero 0️⃣

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions