Skip to content

Intermittent attitude update gaps/spikes from openplotter-pypilot-read despite stable pypilot IMU data #9

@arodus

Description

@arodus

Summary

openplotter-pypilot-read intermittently appears to stop or fail publishing attitude updates for short periods, then resumes. In Grafana / Signal K history this shows up as repeated short gaps and sometimes as roll/pitch spikes or decaying artifacts in downstream consumers such as Advanced Wind.

This was observed with the original, unmodified openplotter-pypilot-read, not with a locally modified version.

Environment

  • Platform: Raspberry Pi / OpenPlotter
  • Service: openplotter-pypilot-read
  • pypilot version seen on system: pypilot==0.70
  • IMU: ICM-20948 / pypilot IMU setup
  • Signal K server: local network, port 3000
  • Data consumed by:
    • Signal K
    • Grafana
    • Advanced Wind plugin

Symptoms

The attitude is not being updated regularly for multiple seconds, this can be seen especially well in grafana.
In Grafana, navigation.attitude.roll and navigation.attitude.pitch show intermittent short interruptions every few seconds/minutes. The values are normally stable near zero, but the time series has repeated discontinuities/gaps.

Image

Actual behavior

The Signal K websocket connection is eventually lost with:
Connection to remote host was lost.
timed out
Then openplotter-pypilot-read reconnects and continues.

Suspected cause

The websocket send path appears to publish data but does not continuously drain/read from the websocket.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions