Tobii Pro SDK Python API
get_hmd_lens_configuration.py
1 def execute(eyetracker):
2  # <BeginExample>
3  lens_configuration = eyetracker.get_hmd_lens_configuration()
4 
5  print("Got HMD lens configuration from tracker with serial number {0}:".format(eyetracker.serial_number))
6 
7  print("Left: {0}".format(lens_configuration.left))
8  print("Right: {0}".format(lens_configuration.right))
9  # <EndExample>