From 7e8a8ded7c535ba55fe3201b2c93d914477ac3c5 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 8 May 2024 11:12:43 +0200 Subject: [PATCH] emergency --- TCPServer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index b87e440..1834952 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -906,8 +906,6 @@ void TCPServer::handleEmergency(int distance, double angle) { // TODO handle here the emergency like wait for 2 second and then if emergency is again on, that means the robot of the other team do not move, if that go back otherwise continue usleep(2'000'000); - this->stopEmergency = false; - usleep(500'000); // ReSharper disable once CppDFAConstantConditions while (this->stopEmergency) { // TODO here go back by twenty centimeter