This commit is contained in:
ackimixs
2024-05-02 15:26:37 +02:00
parent f85714f0bb
commit d637ae8c4f

View File

@@ -922,13 +922,13 @@ void TCPServer::findAndGoFlower(const StratPattern sp) {
this->broadcastMessage("strat;aruco;get aruco;1\n");
usleep(220'000);
}
tag = getMostCenteredArucoTag(100, 800, -400, 400);
tag = getMostCenteredArucoTag(100, 800, -300, 300);
int timeout = 0;
while (!tag.has_value()) {
this->broadcastMessage("strat;aruco;get aruco;1\n");
usleep(220'000);
tag = getMostCenteredArucoTag(100, 800, -400, 400);
tag = getMostCenteredArucoTag(100, 800, -300, 300);
timeout++;
if (timeout > 3) {