From 1ed5c290945c2c5f77424a5a29c4ebfcbf385744 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 18 Apr 2024 20:30:22 +0200 Subject: [PATCH] add second step --- TCPServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index af7d8e4..b98e3eb 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -633,7 +633,7 @@ void TCPServer::startGameBlueTeam() { * Handle the second plant spot */ - /*toSend = "strat;arduino;go;" + std::to_string(static_cast(this->robotPose.pos.x)) + "," + std::to_string(static_cast(this->robotPose.pos.y + 200)) + "\n"; + toSend = "strat;arduino;go;" + std::to_string(static_cast(this->robotPose.pos.x)) + "," + std::to_string(static_cast(this->robotPose.pos.y + 200)) + "\n"; this->broadcastMessage(toSend); awaitRobotIdle(); @@ -832,7 +832,7 @@ void TCPServer::startGameBlueTeam() { this->broadcastMessage(toSend); awaitRobotIdle(); } - }*/ + } /*toSend = "strat;arduino;go;" + std::to_string(static_cast(this->robotPose.pos.x)) + "," + std::to_string(static_cast(this->robotPose.pos.y + 200)) + "\n"; this->broadcastMessage(toSend);