From b8afbd7b0570ab567a918db0c2d9647c8ca7bb14 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Thu, 18 Apr 2024 21:09:11 +0200 Subject: [PATCH] distance to pot --- TCPServer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 0e4cba6..087cec2 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -407,8 +407,7 @@ void TCPServer::startGameBlueTeam() { this->broadcastMessage("strat;servo_moteur;check panneau;7\n"); usleep(100'000); - toSend = "strat;arduino;go;805," + std::to_string(static_cast(this->robotPose.pos.y)) + "\n"; - this->broadcastMessage(toSend); + this->broadcastMessage("strat;arduino;go;1000,1700\n"); awaitRobotIdle(); this->broadcastMessage("strat;servo_moteur;uncheck panneau;7\n");