From 6379466ec052300be178c674f2d0a175b3cadc8a Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 9 May 2024 12:16:01 +0200 Subject: [PATCH] lidar --- TCPServer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 652ac5a..16c9bfd 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -167,7 +167,6 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) this->sendToClient("strat;" + tokens[0] + ";set speed;" + std::to_string(this->speed) + "\n", clientSocket); } else if (tokens[0] == "lidar" && tokens[2] == "set pos") { - lidarGetPosTimeout++; std::vector args = TCPUtils::split(tokens[3], ","); // TODO replace angle with the real angle calculated by the lidar when working this->lidarCalculatePos = {std::stof(args[0]), std::stof(args[1]), /*std::stof(args[2]) / 100*/ this->robotPose.theta};