From 236dc8963855719c62e2c568b555d65d8026beaf Mon Sep 17 00:00:00 2001 From: Alexander Soare Date: Thu, 18 Apr 2024 18:41:30 +0100 Subject: [PATCH] Update lerobot/common/datasets/utils.py Co-authored-by: Remi --- lerobot/common/datasets/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lerobot/common/datasets/utils.py b/lerobot/common/datasets/utils.py index d7d78a53..50c50856 100644 --- a/lerobot/common/datasets/utils.py +++ b/lerobot/common/datasets/utils.py @@ -34,7 +34,7 @@ def load_previous_and_future_frames( - delta_timestamps (dict): A dictionary containing lists of delta timestamps for each possible modality to be retrieved. These deltas are added to the item timestamp to form the query timestamps. - tol (float, optional): The tolerance level used to determine if a data point is close enough to the query - timestamp (check looks like `difference > tol`). It is suggested that this be set to a value smaller than the + timestamp by asserting `tol > difference`. It is suggested to set `tol` to a smaller value than the smallest expected inter-frame period, but large enough to account for jitter. Returns: