From 820ea5ff962c2415595b2f0867b98a54ee62f81f Mon Sep 17 00:00:00 2001 From: ackimixs Date: Sat, 4 May 2024 12:07:42 +0200 Subject: [PATCH] go --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 22db9f5..7b6abe8 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -254,7 +254,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) this->setSpeed(200); - this->go(this->initRobotPose[0], this->initRobotPose[1]); + this->go(this->initRobotPose.pos.x, this->initRobotPose.pos.y); switch (this->team) { case BLUE: