diff options
author | Théo de la Hogue | 2022-05-20 15:40:58 +0200 |
---|---|---|
committer | Théo de la Hogue | 2022-05-20 15:40:58 +0200 |
commit | 5b5db9309c0952108a571d6b63180cb85b562e8f (patch) | |
tree | 02c460a8e67dc86b9aaf86ad79201a5c6c3547ed /src | |
parent | c9e8ec04f83a83cdded8953cd61903b9e461f44e (diff) | |
download | argaze-5b5db9309c0952108a571d6b63180cb85b562e8f.zip argaze-5b5db9309c0952108a571d6b63180cb85b562e8f.tar.gz argaze-5b5db9309c0952108a571d6b63180cb85b562e8f.tar.bz2 argaze-5b5db9309c0952108a571d6b63180cb85b562e8f.tar.xz |
Renaming PTS into PresentationTimeStamp.
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/TobiiGlassesPro2/TobiiData.py | 10 |
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(), |