mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-19 00:47:36 +01:00
robot idle
This commit is contained in:
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user