From b3588cc33d52ad82fbeac54562cdfea398e7ee51 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 9 May 2024 12:06:54 +0200 Subject: [PATCH] handle the fact that the lidar don't find balise --- TCPServer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/TCPServer.cpp b/TCPServer.cpp index d7708ec..652ac5a 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -175,6 +175,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) if (lidarGetPosTimeout > 10) { awaitForLidar = false; } + lidarGetPosTimeout++; this->askLidarPosition(); } else {