diff --git a/TCPServer.cpp b/TCPServer.cpp index bf651fa..622cb72 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -355,7 +355,7 @@ void TCPServer::startGame() { this->broadcastMessage("strat;servo_moteur;fermer pince;2\n"); this->broadcastMessage("strat;servo_moteur;ouvrir pince;0\n"); // TODO set to 200 when the robot is ready - this->broadcastMessage("strat;arduino;speed;150\n"); + this->broadcastMessage("strat;arduino;speed;2000\n"); this->broadcastMessage("strat;aruco;get aruco;1\n"); @@ -536,7 +536,7 @@ void TCPServer::goToAruco(const ArucoTag &arucoTag, const int pince) { // ReSharper disable once CppDFAUnreachableCode // TODO set to 150 when the robot is ready - this->broadcastMessage("strat;arduino;speed;110\n"); + this->broadcastMessage("strat;arduino;speed;150\n"); usleep(1'000'000); xPrime += x30Percent; @@ -559,7 +559,7 @@ void TCPServer::goToAruco(const ArucoTag &arucoTag, const int pince) { usleep(500'000); this->broadcastMessage("strat;servo_moteur;lever bras;1\n"); // TODO set to 200 when the robot is ready - this->broadcastMessage("strat;arduino;speed;150\n"); + this->broadcastMessage("strat;arduino;speed;200\n"); pinceState[pince] = arucoTag.name() == "Purple_flower" ? PURPLE_FLOWER : WHITE_FLOWER; }