Beispiel #1
0
 def _get_color_control(
         self, cmd: ColorControlCommand) -> Tuple[int, ColorControlMode]:
     self._validate_is_opened()
     res, mode, value = k4a_module.device_get_color_control(
         self._device_handle, self.thread_safe, cmd)
     _verify_error(res)
     return value, ColorControlMode(mode)
Beispiel #2
0
 def _get_color_control(
         self, cmd: ColorControlCommand) -> Tuple[int, ColorControlMode]:
     res, mode, value = k4a_module.device_get_color_control(cmd)
     self._verify_error(res)
     return value, ColorControlMode(mode)