From 79792fe1409e1073f3b2bce2482c1915bb0a9830 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 8 Apr 2024 21:55:59 +0200 Subject: [PATCH] change timing --- TCPServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index b9adc73..a5e5a11 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -183,9 +183,10 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) this->broadcastMessage("strat;servo_moteur;lever bras;1\n"); usleep(1'000'000); this->broadcastMessage("strat;arduino;go;1000,1500\n"); + usleep(4'000'000); this->broadcastMessage("strat;servo_moteur;baisser bras;1\n"); this->broadcastMessage("strat;servo_moteur;ouvrir pince;1\n"); - usleep(6'000'000); + usleep(2'000'000); this->broadcastMessage("strat;arduino;go;500,500\n"); } }