From 3a84db378f00b637720f778593cdc7f62a7603a3 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 11 Apr 2024 10:54:16 +0200 Subject: [PATCH] ask 5 time per second --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 6db3bd7..a79d41c 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -364,6 +364,6 @@ void TCPServer::goToAruco(const ArucoTagPos &arucoTagPos, const int pince) { void TCPServer::askArduinoPos() { while (!this->shouldStop) { this->broadcastMessage("strat;arduino;get pos;1\n"); - usleep(50'000); + usleep(200'000); } }