From d964cbfe2279c66ef05ae386ef4263e173d55f60 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 10 Apr 2024 21:51:39 +0200 Subject: [PATCH] . --- TCPServer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 337894e..294a2ff 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -292,10 +292,8 @@ void TCPServer::startGame() { // pi/4 this->broadcastMessage("strat;arduino;angle;78"); - this->broadcastMessage("strat;servo_moteur;baisser bras;1"); + this->robotPose.theta = 0.785398; usleep(1'000'000); - std::string toSend = "strat;servo_moteur;ouvrir pince;" + std::to_string(1) +"\n"; - this->broadcastMessage(toSend); this->broadcastMessage("strat;aruco;get aruco;1\n"); while (this->waitForAruco) { usleep(100'000);