From 1cdb53e599f8a290ab60cc2845645be5369586dc Mon Sep 17 00:00:00 2001 From: ackimixs Date: Sat, 4 May 2024 09:13:43 +0200 Subject: [PATCH] wait more --- TCPServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/TCPServer.cpp b/TCPServer.cpp index da80ec2..21eb381 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -758,6 +758,7 @@ void TCPServer::awaitRobotIdle() { int timeout = 0; // ReSharper disable once CppDFAConstantConditions // ReSharper disable once CppDFAEndlessLoop + usleep(100'000); while (isRobotIdle < 3) { usleep(50'000); this->sendToClient("strat;arduino;get state;1\n", this->arduinoSocket);