多台控制bug调整

This commit is contained in:
ray
2025-10-31 00:24:30 +08:00
parent fc87a3cf84
commit eb896fc31e

View File

@@ -154,7 +154,6 @@ class GetImage:
except Exception as e: except Exception as e:
# 只在异常时打印错误 # 只在异常时打印错误
throttle(f"cap_read_err_{self.cam_index}", 2.0, logging.WARNING, f"⚠️ 采集卡 {self.cam_index} 读取异常: {e}") throttle(f"cap_read_err_{self.cam_index}", 2.0, logging.WARNING, f"⚠️ 采集卡 {self.cam_index} 读取异常: {e}")
import time
time.sleep(0.1) # 出错时短暂延迟 time.sleep(0.1) # 出错时短暂延迟
def get_frame(self): def get_frame(self):