From f3eb7acb1c6f4e099988924063b4fbe10a5f1b9b Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 15 May 2024 19:12:57 +0200 Subject: [PATCH] emergency --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 2098838..c44cdb2 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -122,7 +122,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) if (TCPUtils::contains(tokens[2], "stop proximity")) { std::vector args = TCPUtils::split(tokens[3], ","); - if (stoi(args[0]) < 200) { + if (stoi(args[0]) < 450) { stopEmergency = true; this->lidarDectectionAngle = stod(args[1]) / 100;