From 8790d1a4678c1ae8cbbdeabf1086de10e11799fc Mon Sep 17 00:00:00 2001 From: ackimixs Date: Sat, 4 May 2024 11:09:00 +0200 Subject: [PATCH] \n --- TCPServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index e988aed..33d710b 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -233,7 +233,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) file.close(); this->broadcastMessage("strat;lidar;set team;" + std::to_string((this->team == BLUE ? 0 : 1)) + "\n"); - this->broadcastMessage("strat;lidar;set beacon;1"); + this->broadcastMessage("strat;lidar;set beacon;1\n"); this->robotPose = {spawnPoint[0], spawnPoint[1], spawnPoint[2]}; this->initRobotPose = {spawnPoint[0], spawnPoint[1], spawnPoint[2]};