From 4b98cc25c80fd28fa9e811da3dfac9bc35be1ef8 Mon Sep 17 00:00:00 2001 From: CarolinePascal Date: Wed, 4 Jun 2025 14:25:57 +0200 Subject: [PATCH] [skip-ci] fix(async read): remove async read from LeKiwi to avoid delays --- src/lerobot/microphones/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lerobot/microphones/utils.py b/src/lerobot/microphones/utils.py index e9a9c2a68..6613d0976 100644 --- a/src/lerobot/microphones/utils.py +++ b/src/lerobot/microphones/utils.py @@ -78,7 +78,8 @@ def async_microphones_stop_recording(microphones: dict[str, Microphone]) -> None def async_microphones_read(microphones: dict[str, Microphone]) -> dict[str, np.ndarray]: """ - Reads from multiple microphones asynchronously to avoid delays + Reads from multiple microphones asynchronously to avoid delays. + -> Actually induces more delays than the synchronous version, so use with caution ! """ read_threads = []