diff --git a/MainWindow.cpp b/MainWindow.cpp index 570f3fa..8a95f0f 100644 --- a/MainWindow.cpp +++ b/MainWindow.cpp @@ -73,9 +73,9 @@ MainWindow::MainWindow(const char *address, int port, QWidget *parent) : QMainWi this->tcpClient->sendMessage("ihm;servo_moteur;fermer pince;1"); std::this_thread::sleep_for(std::chrono::milliseconds(100)); this->tcpClient->sendMessage("ihm;servo_moteur;fermer pince;2"); - std::this_thread::sleep_for(std::chrono::milliseconds(100)); - this->tcpClient->sendMessage("ihm;servo_moteur;baisser bras;1"); std::this_thread::sleep_for(std::chrono::milliseconds(1000)); + this->tcpClient->sendMessage("ihm;servo_moteur;baisser bras;1"); + std::this_thread::sleep_for(std::chrono::milliseconds(100)); this->tcpClient->sendMessage("ihm;servo_moteur;uncheck panneau;6"); std::this_thread::sleep_for(std::chrono::milliseconds(100)); this->tcpClient->sendMessage("ihm;servo_moteur;uncheck panneau;7");