aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/argaze/utils/contexts/TobiiProGlasses2.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/argaze/utils/contexts/TobiiProGlasses2.py b/src/argaze/utils/contexts/TobiiProGlasses2.py
index b46ebd9..92aba0f 100644
--- a/src/argaze/utils/contexts/TobiiProGlasses2.py
+++ b/src/argaze/utils/contexts/TobiiProGlasses2.py
@@ -1315,7 +1315,7 @@ class PostProcessing(ArFeatures.ArContext):
if data_object_type == 'Event':
- logging.info('> reading <%s, %s> event at %f ms', data_object.type, data_object.tag, data_ts)
+ logging.debug('> reading %s event (%s) at %f ms', data_object.type, data_object.tag, data_ts)
if data_object.type == self.__sync_event:
@@ -1342,7 +1342,9 @@ class PostProcessing(ArFeatures.ArContext):
# Correct sync ts
self.__sync_ts += diff_data_ts-diff_sync_ts
- logging.warning('delay between data ts and sync ts = %i', diff_data_ts-diff_sync_ts)
+ if abs(diff_data_ts-diff_sync_ts) > 0:
+
+ logging.info('Difference between data and sync event timestamps is %i ms', diff_data_ts-diff_sync_ts)
# Don't process gaze positions if sync is required but sync event not happened yet
if self.__sync_event is not None and self.__sync_ts is None: