set the no found aruco to 404

This commit is contained in:
ackimixs
2024-03-21 19:58:41 +01:00
parent c70fe0fe3d
commit ce1f0f9daa

View File

@@ -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<double>(0, 0)) + " ";
res += std::to_string(pos.first.at<double>(1, 0)) + " ";