mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-18 16:47:33 +01:00
remove log
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user