aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo de la Hogue2024-09-10 15:37:36 +0200
committerThéo de la Hogue2024-09-10 15:37:36 +0200
commit616f874c393a7500e9032c6b119ae1c350893ad1 (patch)
treedad1f7b01f3f7da54ad7f780f45bad162659f879
parent6637001b44402393c66d9bfe5656123e5ce4bade (diff)
downloadargaze-616f874c393a7500e9032c6b119ae1c350893ad1.zip
argaze-616f874c393a7500e9032c6b119ae1c350893ad1.tar.gz
argaze-616f874c393a7500e9032c6b119ae1c350893ad1.tar.bz2
argaze-616f874c393a7500e9032c6b119ae1c350893ad1.tar.xz
Initializing calibration and recording status at calibration/recording time.
-rw-r--r--src/argaze/utils/contexts/TobiiProGlasses2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/utils/contexts/TobiiProGlasses2.py b/src/argaze/utils/contexts/TobiiProGlasses2.py
index ce935e9..ea5bcab 100644
--- a/src/argaze/utils/contexts/TobiiProGlasses2.py
+++ b/src/argaze/utils/contexts/TobiiProGlasses2.py
@@ -936,7 +936,7 @@ class LiveStream(ArFeatures.DataCaptureContext):
"""Handle whole Tobii glasses calibration process."""
# Reset calibration
- self.__calibration_status = None
+ self.__calibration_status = 'uncalibrated'
self.__calibration_id = None
# Calibration have to be done for a project and a participant
@@ -994,7 +994,7 @@ class LiveStream(ArFeatures.DataCaptureContext):
"""Create a new recording on the Tobii interface's SD Card."""
# Reset recording
- self.__recording_status = None
+ self.__recording_status = 'stopped'
self.__recording_id = None
# Recording have to be done for a participant