From f12df10d4d953cd29c11c4c19bfa1616c8116746 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Tue, 7 May 2024 16:57:10 +0200 Subject: [PATCH] plant --- TCPServer.cpp | 4 ++-- TCPServer.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index c4d2578..d088de3 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1511,7 +1511,7 @@ void TCPServer::go3Plants(const StratPattern sp) { this->setMaxSpeed(); - this->transit(plantPosition[0]-600, plantPosition[1], 170); + this->transit(plantPosition[0]-500, plantPosition[1], 170); // this->go(plantPosition[0]-500, plantPosition[1]); awaitRobotIdle(); @@ -1522,7 +1522,7 @@ void TCPServer::go3Plants(const StratPattern sp) { this->setMaxSpeed(); - this->go(plantPosition[0]-400, plantPosition[1]); + this->go(plantPosition[0]-300, plantPosition[1]); awaitRobotIdle(); this->setSpeed(150); diff --git a/TCPServer.h b/TCPServer.h index 9b24b16..795c8b6 100644 --- a/TCPServer.h +++ b/TCPServer.h @@ -127,7 +127,7 @@ private: /*TAKE_3_PLANT_BOTTOM_1, DROP_FLOWER_BASE_2,*/ - TAKE_3_PLANT_BOTTOM_2, + TAKE_3_PLANT_BOTTOM_1, GET_LIDAR_POS, REMOVE_POT_J2, DROP_FLOWER_J2,