From b0882f7d8a09230bd0e00e61f7573f9f37bb7bc4 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 10 May 2024 02:52:33 +0200 Subject: [PATCH] max speed --- TCPServer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 72a28ab..7dba371 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1371,6 +1371,8 @@ void TCPServer::dropJardiniereFlowers(const StratPattern sp) { this->transit(whiteDropSetup, 170); if (awaitRobotIdle() < 0) return; + this->setMaxSpeed(); + this->rotate(angle); if (awaitRobotIdle() < 0) return; @@ -1552,7 +1554,7 @@ void TCPServer::go3Plants(const StratPattern sp) { this->setMaxSpeed(); - this->transit(plantPosition[0]-(600*direction), plantPosition[1], 170); + this->transit(plantPosition[0]-(600*direction), plantPosition[1], 150); // this->go(plantPosition[0]-500, plantPosition[1]); if (awaitRobotIdle() < 0) return;