From 5339de0d6aaeffab911da824e7ec943f6aad23fe Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 3 May 2024 18:05:27 +0200 Subject: [PATCH] speed --- TCPServer.cpp | 4 ++++ TCPServer.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 814fd6b..92bcd9f 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1331,6 +1331,7 @@ void TCPServer::go3Plants(StratPattern sp) { this->go(500, 700); awaitRobotIdle(); + this->setSpeed(180); this->rotate(0); awaitRobotIdle(); } @@ -1338,12 +1339,15 @@ void TCPServer::go3Plants(StratPattern sp) { this->go(500, 1300); awaitRobotIdle(); + this->setSpeed(180); this->rotate(0); awaitRobotIdle(); } else { return; } + this->setSpeed(200); + for (int i = 0; i < 3; i++) { this->openPince(i); } diff --git a/TCPServer.h b/TCPServer.h index 6cacfb9..874693e 100644 --- a/TCPServer.h +++ b/TCPServer.h @@ -53,7 +53,7 @@ enum StratPattern { DROP_FLOWER_J1, DROP_FLOWER_J2, REMOVE_POT_J2, - DROP_FLOWER_BASE_1, + // DROP_FLOWER_BASE_1, }; class TCPServer; // Forward declaration