update 初次融合+调试

This commit is contained in:
FrankCV2048
2024-09-03 23:28:16 +08:00
parent 051de571a8
commit 0af995b9cd
10 changed files with 108 additions and 69 deletions

View File

@ -30,10 +30,9 @@ class TCPClient:
time.sleep(0.2)
self.connected = self.error_count > 0
try:
#time.sleep(30)
if (self.send_Status() and self.send_Command()):
self.error_count = 0
except:
except Exception as e:
self.error_count += 1