From 615fefba4e8d928c212e88a571946c2063661f3a Mon Sep 17 00:00:00 2001 From: ackimixs Date: Tue, 7 May 2024 16:17:09 +0200 Subject: [PATCH] remove pot --- TCPServer.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 4a4d52d..7e02060 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1511,7 +1511,8 @@ void TCPServer::go3Plants(const StratPattern sp) { this->setMaxSpeed(); - this->transit(plantPosition[0]-600, plantPosition[1], 150); + // this->transit(plantPosition[0]-600, plantPosition[1], 150); + this->go(plantPosition[0]-600, plantPosition[1]); awaitRobotIdle(); this->baisserBras(); @@ -1586,13 +1587,13 @@ void TCPServer::removePot(StratPattern sp) { this->setMaxSpeed(); if (team == BLUE) { if (sp == REMOVE_POT_J2) { - this->go(200, 1000); + this->go(220, 1000); awaitRobotIdle(); this->setSpeed(150); - this->go(180, 400); + this->go(200, 400); awaitRobotIdle(); this->setMaxSpeed(); - this->go(220, 650); + this->go(230, 650); awaitRobotIdle(); } } else if (team == YELLOW) {