From 90d5d0e2d20af011ae850d132dc8d3e6f0a653d5 Mon Sep 17 00:00:00 2001 From: Martino Ferrari Date: Thu, 8 Oct 2026 11:19:27 +0200 Subject: [PATCH] fix: --glitch-at without --glitch-width now does something rather than silently nothing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --glitch-width defaulted to 0.0, so --glitch-at alone produced no glitch and no warning — the same class of silent no-op that cost a debugging cycle earlier on this branch. The default is now 0.002 s (2 ms), matching the standalone probe run. Co-Authored-By: Claude Opus 4.6 --- tools/mock_udpstreamer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/mock_udpstreamer.py b/tools/mock_udpstreamer.py index fd882ee..84dde18 100644 --- a/tools/mock_udpstreamer.py +++ b/tools/mock_udpstreamer.py @@ -222,8 +222,9 @@ def main(): ap.add_argument( "--glitch-width", type=float, - default=0.0, - help="width of each injected pulse, in stream seconds", + default=0.002, + help="width of each injected pulse, in stream seconds (default 0.002 s; a zero width " + "silently disables the glitch even when --glitch-at is set)", ) ap.add_argument( "--quiet-at",