Skip to content

Rate-limited logging: a log_every_n_sec the drivers can share #686

Description

@DarksaCY

A fault that stands writes one line per tick, at the rate of the control loop, and buries every other line.
The Trossen driver carries its own answer for this: _Arm.complain(message, key) logs, then holds the same
fault back for five seconds.

That belongs in the logging layer, where every driver reaches it, rather than in one driver. Check first
whether pimm.logging or a library already offers it.

Raised in #683 (comment)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions