From eeffb8ed627980c77b4c53f1ffcb1923fe17cd35 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Sun, 20 Sep 2026 11:34:40 -0700 Subject: [PATCH] Allow Bluetooth DAC estimate settling during silent clock calibration --- roadscore/prototype/stream_clock_bridge.py | 4 +++- roadscore/prototype/test_stream_clock_bridge.py | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/roadscore/prototype/stream_clock_bridge.py b/roadscore/prototype/stream_clock_bridge.py index c32a75ef18..7ebc2b6b0c 100644 --- a/roadscore/prototype/stream_clock_bridge.py +++ b/roadscore/prototype/stream_clock_bridge.py @@ -25,7 +25,9 @@ class StreamClockBridge: if (not all(type(value) in (int,float) and math.isfinite(value) for value in (wall,current,dac)) or current<=0 or dac<=0 or not -.02<=dac-current<=5): raise ValueError('Invalid callback clock sample') - if previous is not None and (wall