This commit is contained in:
ackimixs
2024-05-03 18:05:27 +02:00
parent b4e5663278
commit 5339de0d6a
2 changed files with 5 additions and 1 deletions

View File

@@ -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);
}

View File

@@ -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