From f6198d20c69ad741ecb7c70cf337f72b621205d0 Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Mon, 26 May 2025 17:57:51 +0200 Subject: [PATCH] Add suggestion from Caroline --- lerobot/common/cameras/opencv/camera_opencv.py | 2 +- lerobot/common/cameras/realsense/camera_realsense.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lerobot/common/cameras/opencv/camera_opencv.py b/lerobot/common/cameras/opencv/camera_opencv.py index d1a83f79..d68f419d 100644 --- a/lerobot/common/cameras/opencv/camera_opencv.py +++ b/lerobot/common/cameras/opencv/camera_opencv.py @@ -370,7 +370,7 @@ class OpenCVCamera(Camera): def _read_loop(self): """ - Internal loop for background thread for asynchronous reading. + Internal loop run by the background thread for asynchronous reading. On each iteration: 1. Reads a color frame diff --git a/lerobot/common/cameras/realsense/camera_realsense.py b/lerobot/common/cameras/realsense/camera_realsense.py index 71238f4e..1ef23de9 100644 --- a/lerobot/common/cameras/realsense/camera_realsense.py +++ b/lerobot/common/cameras/realsense/camera_realsense.py @@ -442,7 +442,7 @@ class RealSenseCamera(Camera): def _read_loop(self): """ - Internal loop for background thread for asynchronous reading. + Internal loop run by the background thread for asynchronous reading. On each iteration: 1. Reads a color frame with 500ms timeout