From ccf5e0e91b202183a0fd7e60575a0bc8c75b1a39 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 3 May 2024 21:41:12 +0200 Subject: [PATCH] include lidar --- TCPServer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 496136c..94cdc5f 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -129,6 +129,8 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) this->gameThread.~thread(); this->broadcastMessage("strat;arduino;clear;1"); + this->broadcastMessage(message); + std::vector args = TCPUtils::split(tokens[3], ","); if (!handleEmergencyFlag) { @@ -1457,7 +1459,7 @@ void TCPServer::removePot(StratPattern sp) { if (sp == REMOVE_POT_J2) { this->go(230, 1000); awaitRobotIdle(); - this->go(200, 400); + this->go(210, 400); awaitRobotIdle(); this->go(230, 650); awaitRobotIdle();