aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2022-05-20 15:40:58 +0200
committerThéo de la Hogue2022-05-20 15:40:58 +0200
commit5b5db9309c0952108a571d6b63180cb85b562e8f (patch)
tree02c460a8e67dc86b9aaf86ad79201a5c6c3547ed
parentc9e8ec04f83a83cdded8953cd61903b9e461f44e (diff)
downloadargaze-5b5db9309c0952108a571d6b63180cb85b562e8f.zip
argaze-5b5db9309c0952108a571d6b63180cb85b562e8f.tar.gz
argaze-5b5db9309c0952108a571d6b63180cb85b562e8f.tar.bz2
argaze-5b5db9309c0952108a571d6b63180cb85b562e8f.tar.xz
Renaming PTS into PresentationTimeStamp.
-rw-r--r--src/argaze/TobiiGlassesPro2/TobiiData.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/argaze/TobiiGlassesPro2/TobiiData.py b/src/argaze/TobiiGlassesPro2/TobiiData.py
index 3a1c27b..a7364c5 100644
--- a/src/argaze/TobiiGlassesPro2/TobiiData.py
+++ b/src/argaze/TobiiGlassesPro2/TobiiData.py
@@ -19,8 +19,8 @@ class DirSig():
sig: int # meaning ?
@dataclass
-class PTS():
- """Define pts data (pts)."""
+class PresentationTimeStamp():
+ """Define presentation time stamp data (pts)."""
value: int
@@ -104,7 +104,7 @@ class TobiiJsonDataParser():
def parse_pts(self, json_data):
- return PTS(json_data['pts'])
+ return PresentationTimeStamp(json_data['pts'])
def parse_event_synch(self, json_data):
@@ -196,7 +196,7 @@ class TobiiDataSegment():
self.__ts_data_buffer_dict = {
'DirSig': DataStructures.TimeStampedBuffer(),
- 'PTS': DataStructures.TimeStampedBuffer(),
+ 'PresentationTimeStamp': DataStructures.TimeStampedBuffer(),
'EventSynch': DataStructures.TimeStampedBuffer(),
'Event': DataStructures.TimeStampedBuffer(),
'Accelerometer': DataStructures.TimeStampedBuffer(),
@@ -344,7 +344,7 @@ class TobiiDataStream(threading.Thread):
# create a dictionary of timestamped data buffers
ts_data_buffer_dict = {
'DirSig': DataStructures.TimeStampedBuffer(),
- 'PTS': DataStructures.TimeStampedBuffer(),
+ 'PresentationTimeStamp': DataStructures.TimeStampedBuffer(),
'EventSynch': DataStructures.TimeStampedBuffer(),
'Event': DataStructures.TimeStampedBuffer(),
'Accelerometer': DataStructures.TimeStampedBuffer(),