From 657f2db7a9d4692594eefc6178355a136cefdb96 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Mon, 8 Apr 2024 22:10:16 +0200 Subject: [PATCH] close pince first --- TCPServer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TCPServer.cpp b/TCPServer.cpp index d026f24..75f134f 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -163,6 +163,8 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) this->broadcastMessage(message.c_str(), clientSocket); this->actionNb = 0; this->broadcastMessage("strat;servo_moteur;baisser bras;1\n"); + this->broadcastMessage("strat;servo_moteur;fermer pince;1\n"); + this->broadcastMessage("strat;servo_moteur;fermer pince;2\n"); this->broadcastMessage("strat;servo_moteur;ouvrir pince;0\n"); this->broadcastMessage("strat;aruco;get aruco;1\n"); }