eyetracker.test.calibrated
description
Tests whether the EyeTracker went through a calibration procedure (regardless of whether it was successful).
syntax
getEyeTracker(ELEMENT_NAME).test.calibrated()
notes
-
You probably won’t make use of this, unless you don’t want to calibrate the tracker before your trials nor on every trial, but still need to calibrate it at least on the first trial, and your trials are presented in a random order. You most likely won’t have to use this.
-
See
test.ready
if you want to test whether the participant has granted webGazer access to their webcam, as required by the EyeTracker.
example(s)
getEyeTracker("tracker")
.test.calibrated()
.failure( getVar("useTracker").set(false))
- If the eyetracker is not calibrated, tracker won’t be used in this example.