From 899c536db2416693c3c6e7d7da11476ae7dbf7fd Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 15 Apr 2024 21:18:56 +0200 Subject: [PATCH] log --- TCPServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 251ad0c..4f81ee5 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -385,7 +385,7 @@ void TCPServer::startGame() { } // pi/4 - this->broadcastMessage("strat;arduino;angle;-314\n"); + this->broadcastMessage("strat;arduino;angle;314\n"); isRobotMoving = true; while (this->isRobotMoving) { usleep(500'000); @@ -546,6 +546,7 @@ void TCPServer::askArduinoPos() { ClientTCP arduino; for (const auto & client : clients) { if (client.name == "arduino") { + std::cout << "Find arduino socker : " << client.socket << std::endl; arduino = client; break; }