From fde7a7ddef75ffc990c489f397c61439abba4c7f Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 8 May 2024 18:01:14 +0200 Subject: [PATCH] lidar --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 64e78f0..e873f4e 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -925,7 +925,7 @@ void TCPServer::handleEmergency(int distance, double angle) { this->stopEmergency = false; - std::this_thread::sleep_for(std::chrono::seconds(2)); + std::this_thread::sleep_for(std::chrono::seconds(1)); /*double newAngle = this->robotPose.theta + angle; double newX = this->robotPose.pos.x + 200 * std::cos(newAngle);