mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-19 00:57:28 +01:00
set the no found aruco to 404
This commit is contained in:
@@ -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)) + " ";
|
||||
|
||||
Reference in New Issue
Block a user