diff --git a/tcp/MyClient.cpp b/tcp/MyClient.cpp index 890d53b..18536c0 100644 --- a/tcp/MyClient.cpp +++ b/tcp/MyClient.cpp @@ -20,10 +20,11 @@ void MyClient::handleMessage(const std::string& message) if (arucoTags.empty()) { - res = "No Aruco Tags Found"; + res += "404"; } else { for (auto& [tag, pos] : arucoTags) { + res += std::to_string(tag.id) + " "; res += std::to_string(pos.first.at(0, 0)) + " "; res += std::to_string(pos.first.at(1, 0)) + " ";