From 36bf84a8c77ed96080e5571c1aed9326966f3038 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 6 May 2024 19:00:56 +0200 Subject: [PATCH] robot idle --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index ec30ed5..954e117 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -790,7 +790,7 @@ void TCPServer::awaitRobotIdle() { // ReSharper disable once CppDFAConstantConditions // ReSharper disable once CppDFAEndlessLoop usleep(50'000); - while (isRobotIdle < 3) { + while (isRobotIdle < 2) { usleep(50'000); this->sendToClient("strat;arduino;get state;1\n", this->arduinoSocket); timeout++;