aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/argaze/TobiiGlassesPro2/TobiiController.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/argaze/TobiiGlassesPro2/TobiiController.py b/src/argaze/TobiiGlassesPro2/TobiiController.py
index 31bd3d8..39f4e46 100644
--- a/src/argaze/TobiiGlassesPro2/TobiiController.py
+++ b/src/argaze/TobiiGlassesPro2/TobiiController.py
@@ -354,7 +354,7 @@ class TobiiController(TobiiNetworkInterface.TobiiNetworkInterface):
def get_storage_status(self):
return self.get_status()['sys_storage']
- def get_video_freq(self):
+ def get_scene_camera_freq(self):
return self.get_configuration()['sys_sc_fps']
def set_et_freq_50(self):
@@ -366,27 +366,27 @@ class TobiiController(TobiiNetworkInterface.TobiiNetworkInterface):
data = {'sys_et_freq': 100}
json_data = super().post_request('/api/system/conf', data)
- def set_et_indoor_preset(self):
- data = {'sys_sc_preset': 'Indoor'}
- json_data = super().post_request('/api/system/conf', data)
+ def set_eye_camera_indoor_preset(self) -> str:
+ data = {'sys_ec_preset': 'Indoor'}
+ return super().post_request('/api/system/conf', data)
- def set_et_outdoor_preset(self):
+ def set_eye_camera_outdoor_preset(self) -> str:
data = {'sys_ec_preset': 'ClearWeather'}
- json_data = super().post_request('/api/system/conf', data)
+ return super().post_request('/api/system/conf', data)
- def set_video_auto_preset(self):
+ def set_scene_camera_auto_preset(self):
data = {'sys_sc_preset': 'Auto'}
json_data = super().post_request('/api/system/conf', data)
- def set_video_gaze_preset(self):
+ def set_scene_camera_gaze_preset(self):
data = {'sys_sc_preset': 'GazeBasedExposure'}
json_data = super().post_request('/api/system/conf', data)
- def set_video_freq_25(self):
+ def set_scene_camera_freq_25(self):
data = {'sys_sc_fps': 25}
json_data = super().post_request('/api/system/conf/', data)
- def set_video_freq_50(self):
+ def set_scene_camera_freq_50(self):
data = {'sys_sc_fps': 50}
json_data = super().post_request('/api/system/conf/', data)