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: