From 5e06df32d86b97cefbb7569ecde1503b15bd909a Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 15 Apr 2024 21:48:06 +0200 Subject: [PATCH] change robot moving status --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index fdde22f..424e3e8 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -235,7 +235,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) } } else if (tokens[0] == "arduino" && tokens[2] == "set state") { - this->isRobotMoving = TCPUtils::startWith(tokens[3], "0"); + this->isRobotMoving = TCPUtils::startWith(tokens[3], "1"); } std::cout << "Received: " << message << std::endl; }