From 15d3928b713b67ac0d4ad8a02b72fcbe40e617ce Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 10 May 2024 02:03:26 +0200 Subject: [PATCH] awaitRobotIdle --- TCPServer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index f7d69b5..41e92a4 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -1692,7 +1692,7 @@ void TCPServer::checkpoint(const StratPattern sp) { switch (sp) { case CHECKPOINT_MIDDLE: this->go(500, 1500); - this->if (awaitRobotIdle() < 0) return; + if (awaitRobotIdle() < 0) return; break; case CHECKPOINT_TRANSITION_SOLAR_PANEL_FLOWER: this->go(800, 1800); @@ -1707,7 +1707,7 @@ void TCPServer::checkpoint(const StratPattern sp) { switch (sp) { case CHECKPOINT_MIDDLE: this->go(2500, 1500); - this->if (awaitRobotIdle() < 0) return; + if (awaitRobotIdle() < 0) return; break; case CHECKPOINT_TRANSITION_SOLAR_PANEL_FLOWER: this->go(2200, 1800);