From 32ce4e2892115c523b28e13a0bc7531b057bc29f Mon Sep 17 00:00:00 2001 From: ackimixs Date: Sat, 4 May 2024 08:57:34 +0200 Subject: [PATCH] reposition --- TCPServer.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 740249a..19a116d 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1277,7 +1277,12 @@ void TCPServer::dropJardiniereFlowers(const StratPattern sp) { this->setPosition(this->robotPose.pos.x, 142, this->robotPose.theta); } else if (sp == DROP_FLOWER_J2) { - this->setPosition(142, this->robotPose.pos.y, this->robotPose.theta); + if (team == BLUE) { + this->setPosition(142, this->robotPose.pos.y, this->robotPose.theta); + } + else if (team == YELLOW) { + this->setPosition(2858, this->robotPose.pos.y, this->robotPose.theta); + } } this->fullyOpenPince(0);