From 65d7129340b738c8288f9c0d11b131ca0eceadfd Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 10 Apr 2024 21:07:45 +0200 Subject: [PATCH] speed --- TCPServer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TCPServer.cpp b/TCPServer.cpp index d7e4fae..8c84292 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -311,6 +311,7 @@ void TCPServer::startGame() { } void TCPServer::goToAruco(const ArucoTagPos &arucoTagPos, const int pince) { + this->broadcastMessage("strat;aruco;speed;100\n"); float decalage; if (pince < 0 || pince > 2) { return; @@ -353,4 +354,5 @@ void TCPServer::goToAruco(const ArucoTagPos &arucoTagPos, const int pince) { this->broadcastMessage(toSend); this->broadcastMessage("strat;servo_moteur;lever bras;1\n"); havePot[pince] = true; + this->broadcastMessage("strat;aruco;speed;200\n"); }