Beispiel #1
0
 def _set_color_control(self,
                        cmd: ColorControlCommand,
                        value: int,
                        mode=ColorControlMode.MANUAL):
     res = k4a_module.device_set_color_control(self._device_id, cmd, mode,
                                               value)
     self._verify_error(res)
Beispiel #2
0
 def _set_color_control(self,
                        cmd: ColorControlCommand,
                        value: int,
                        mode=ColorControlMode.MANUAL):
     self._validate_is_opened()
     res = k4a_module.device_set_color_control(self._device_handle,
                                               self.thread_safe, cmd, mode,
                                               value)
     _verify_error(res)