mirror of
https://github.com/modelec/TCPSocketServer.git
synced 2026-01-18 16:37:29 +01:00
thread
This commit is contained in:
@@ -794,9 +794,6 @@ void TCPServer::awaitRobotIdle() {
|
||||
usleep(50'000);
|
||||
this->sendToClient("strat;arduino;get state;1\n", this->arduinoSocket);
|
||||
timeout++;
|
||||
if (stopEmergency) {
|
||||
std::terminate();
|
||||
}
|
||||
if (timeout > 80) {
|
||||
this->broadcastMessage("strat;arduino;clear;1");
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user