From 693408cf23db60467fe1e2af2ae0e9c7f58cd131 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 3 May 2024 13:32:21 +0200 Subject: [PATCH] sleep --- TCPServer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 430d4f8..aa08106 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1213,7 +1213,7 @@ void TCPServer::checkpoint(StratPattern sp) { this->go(500, 1000); awaitRobotIdle(); this->go(500, 500); - usleep(800'000); + usleep(500'000); break; case CHECKPOINT_TOP_TO_BOTTOM: this->go(500, 1500); @@ -1221,7 +1221,7 @@ void TCPServer::checkpoint(StratPattern sp) { break; case CHECKPOINT_TRANSITION_SOLAR_PANEL_FLOWER: this->go(500, 1700); - usleep(800'000); + usleep(500'000); break; default: break; @@ -1232,7 +1232,7 @@ void TCPServer::checkpoint(StratPattern sp) { this->go(2500, 1000); awaitRobotIdle(); this->go(2500, 500); - usleep(800'000); + usleep(500'000); break; case CHECKPOINT_TOP_TO_BOTTOM: this->go(2500, 1500); @@ -1240,7 +1240,7 @@ void TCPServer::checkpoint(StratPattern sp) { break; case CHECKPOINT_TRANSITION_SOLAR_PANEL_FLOWER: this->go(2500, 1700); - usleep(800'000); + usleep(500'000); break; default: break;