aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2024-09-12 18:21:12 +0200
committerThéo de la Hogue2024-09-12 18:21:12 +0200
commit67e6ba67474bae3315ed7ef7aebf2bf9a9a55c48 (patch)
tree60d081db556bf6423f5272c8c083435ce4fdf95f /src
parent836d9ba324fd485798392acfc38a9b1910805e07 (diff)
downloadargaze-1.0.0rc1.zip
argaze-1.0.0rc1.tar.gz
argaze-1.0.0rc1.tar.bz2
argaze-1.0.0rc1.tar.xz
Introducing 1ms waiting time in File data playback context.1.0.0rc1
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/contexts/File.py5
1 files changed, 5 insertions, 0 deletions
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)