From 616f874c393a7500e9032c6b119ae1c350893ad1 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Tue, 10 Sep 2024 15:37:36 +0200 Subject: Initializing calibration and recording status at calibration/recording time. --- src/argaze/utils/contexts/TobiiProGlasses2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.1