remove log

This commit is contained in:
ackimixs
2024-04-30 16:10:27 +02:00
parent f509ab9c85
commit 55e14c7589
2 changed files with 2 additions and 8 deletions

View File

@@ -62,8 +62,6 @@ int main(int argc, char *argv[])
client.sendMessage("aruco;strat;get robot_pose;0");
auto lastArucoFind = std::chrono::high_resolution_clock::now();
while (true) {
auto r = detector.detectArucoTags({whiteFlower, purpleFlower, solarPanel});
@@ -101,12 +99,6 @@ int main(int argc, char *argv[])
{
break;
}
auto now = std::chrono::high_resolution_clock::now();
std::cout << "Time since last find: " << std::chrono::duration_cast<std::chrono::milliseconds>(now - lastArucoFind).count() << "ms" << std::endl;
lastArucoFind = now;
std::cout << std::endl;
}

View File

@@ -38,6 +38,8 @@ void MyClient::handleMessage(const std::string& message)
std::cout << "Sent to client " << res << std::endl;
this->sendMessage(res.c_str());
this->arucoTags.clear();
} else if (messageSplited[2] == "ping")
{
this->sendMessage("aruco;ihm;pong;1");