From 67e6ba67474bae3315ed7ef7aebf2bf9a9a55c48 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Thu, 12 Sep 2024 18:21:12 +0200 Subject: Introducing 1ms waiting time in File data playback context. --- src/argaze/utils/contexts/File.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/argaze/utils/contexts/File.py b/src/argaze/utils/contexts/File.py index bc03df7..69ec1b5 100644 --- a/src/argaze/utils/contexts/File.py +++ b/src/argaze/utils/contexts/File.py @@ -428,3 +428,8 @@ class CSV(ArFeatures.DataPlaybackContext): # Update progression self.__progression = (row['timestamp'] - start_ts) / self.__duration + + # Wait to get a realtime replay + # TODO: Add attribute to disable realtime replay + # TODO: Consider gaze position processing time to adapt waiting time + time.sleep(1e-3) -- cgit v1.1