Tobii Pro SDK Python API
set_hmd_lens_configuration.py
1 def execute(eyetracker):
2  old_lens_configuration = eyetracker.get_hmd_lens_configuration()
3 
4  # <BeginExample>
5 
6  from tobii_research import HMDLensConfiguration
7 
8  lens_configuration = HMDLensConfiguration(left=(0.0, 0.0, 0.0), right=(0.0, 0.0, 0.0))
9 
10  eyetracker.set_hmd_lens_configuration(lens_configuration)
11 
12  # <EndExample>
13 
14  eyetracker.set_hmd_lens_configuration(old_lens_configuration)