From a74c2836a349bf7ac5768a5e7311fbcad8f15b8a Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 8 May 2024 21:42:20 +0200 Subject: [PATCH] solar pos --- TCPServer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 2fe0214..07ebe35 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -213,7 +213,7 @@ void TCPServer::handleMessage(const std::string& message, int clientSocket) break; case 6: this->setTeam(YELLOW); - spawnPoint[0] = 1750; + spawnPoint[0] = 2750; spawnPoint[1] = 1800; spawnPoint[2] = PI; @@ -1259,7 +1259,7 @@ void TCPServer::goAndTurnSolarPanel(const StratPattern sp) { this->uncheckPanneau(7); break; case TURN_SOLAR_PANNEL_2: - this->go(455, 1800); + this->go(460, 1800); awaitRobotIdle(); this->rotate(0); @@ -1270,7 +1270,7 @@ void TCPServer::goAndTurnSolarPanel(const StratPattern sp) { this->uncheckPanneau(7); break; case TURN_SOLAR_PANNEL_3: - this->go(650, 1800); + this->go(665, 1800); awaitRobotIdle(); this->rotate(0); @@ -1286,7 +1286,7 @@ void TCPServer::goAndTurnSolarPanel(const StratPattern sp) { } else if (team == YELLOW) { switch (sp) { case TURN_SOLAR_PANNEL_1: - this->go(2750, 1790); + this->go(2750, 1800); awaitRobotIdle(); this->rotate(PI); @@ -1297,7 +1297,7 @@ void TCPServer::goAndTurnSolarPanel(const StratPattern sp) { this->uncheckPanneau(6); break; case TURN_SOLAR_PANNEL_2: - this->go(2545, 1790); + this->go(2540, 1800); awaitRobotIdle(); this->rotate(PI); @@ -1308,7 +1308,7 @@ void TCPServer::goAndTurnSolarPanel(const StratPattern sp) { this->uncheckPanneau(6); break; case TURN_SOLAR_PANNEL_3: - this->go(2350, 1790); + this->go(2335, 1800); awaitRobotIdle(); this->rotate(PI);