This commit is contained in:
ackimixs
2024-01-19 12:46:59 +01:00
parent 4566973631
commit 3df784488f
7 changed files with 45 additions and 35 deletions

View File

@@ -51,6 +51,17 @@ int main(int argc, char *argv[])
{
break;
}
for (auto p : res.second)
{
if (p.first.type == FLOWER)
{
ArucoDetector::flowerDetector(p.first, p.second.first, p.second.first);
} else if (p.first.type == SOLAR_PANEL)
{
ArucoDetector::solarPanelDetector(p.first, p.second.first, p.second.first, robotPose);
}
}
}
return 0;