From 5cf4846b8edaef54e2ef4bbbb91c516ac3ad12e8 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 12 Apr 2024 10:24:08 +0200 Subject: [PATCH] log --- TCPServer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index ca882ed..96465b1 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -145,7 +145,8 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) // EMERGENCY if (tokens[3] == "stop proximity") { - this->broadcastMessage("strat;arduino;stop;1"); + // TODO handle emergency + // this->broadcastMessage("strat;arduino;stop;1"); } if (tokens[0] == "tirette" && tokens[2] == "set state") @@ -207,6 +208,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) this->waitForAruco = false; } if (tokens[0] == "arduino" && tokens[2] == "set state") { + std::cout << "Can move : " << tokens[3] << std::endl; this->canMove = tokens[3] == "0"; } // std::cout << "Received: " << message << std::endl;