mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-03-29 03:49:35 +02:00
wait more
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user