marcus-nystrom / Titta

Python and PsychoPy interface to Tobii eye trackers using Tobii Pro SDK
Other
64 stars 27 forks source link

Recalibration during the experiment while recording in Pro Lab #14

Closed gogozz closed 2 years ago

gogozz commented 2 years ago

Hi, In anti_saccades.py, the program crashes when the key 'q' is pressed ("checking someone wants to calibrate") during the sac.antisaccades sessions with the following messeage: "The operation is invalid in this context. 'invalid_operation'". To use "someself.tracker.calibrate(win)", the tracker probably should be stopped first? It works fine once having the tracker stopped "self.tracker.stop_recording(gaze_data=True)" before recalibration. Thanks!