upkie  11.0.0
Open-source wheeled biped robots

◆ rate_limit_repeated_warnings()

None upkie.logging.rate_limit_repeated_warnings ( float   min_interval = 1.0)

Rate-limit warnings that repeat from the same source line.

After calling this, each unique (file, line) warning is printed at most once every min_interval seconds.

Parameters
min_intervalMinimum seconds between successive prints of the same warning location (default: 1.0 s).