From e8ad272552b315a81b08ae10d637a59ed17b0382 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Fri, 3 May 2024 13:13:42 +0200 Subject: [PATCH] remove fake --- TCPServer.cpp | 2 +- TCPServer.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TCPServer.cpp b/TCPServer.cpp index 5f6c5d1..636dcea 100644 --- a/TCPServer.cpp +++ b/TCPServer.cpp @@ -785,7 +785,7 @@ std::optional TCPServer::getMostCenteredArucoTag(float borneMinX, floa bool found = false; ArucoTag mostCenteredTag = ArucoTag(); for (const auto & tag : arucoTags) { - // if (tag.getNbFind() < 2) continue; + if (tag.getNbFind() < 2) continue; auto [tagX, tagY] = tag.pos(); diff --git a/TCPServer.h b/TCPServer.h index 11ff03a..276a4bc 100644 --- a/TCPServer.h +++ b/TCPServer.h @@ -124,11 +124,11 @@ private: DROP_PURPLE_FLOWER, DROP_WHITE_FLOWER_J2, // GET_LIDAR_POS, - TAKE_FLOWER_TOP, + /*TAKE_FLOWER_TOP, TAKE_FLOWER_TOP, TAKE_FLOWER_TOP, DROP_WHITE_FLOWER_J2, - DROP_PURPLE_FLOWER, + DROP_PURPLE_FLOWER,*/ GO_END };