mirror of
https://github.com/modelec/detection_pot.git
synced 2026-01-18 16:47:33 +01:00
sleep
This commit is contained in:
@@ -13,11 +13,11 @@ ArucoDetector::ArucoDetector(const std::string& calibrationPath, const Team team
|
||||
|
||||
// TODO
|
||||
// Adjusting parameters based on specific needs
|
||||
/*parameters->adaptiveThreshConstant = true;
|
||||
parameters->minMarkerPerimeterRate = 0.03;
|
||||
parameters->adaptiveThreshConstant = true;
|
||||
parameters->minMarkerPerimeterRate = 0.02;
|
||||
parameters->maxMarkerPerimeterRate = 4.0;
|
||||
parameters->perspectiveRemoveIgnoredMarginPerCell = 0.13;
|
||||
parameters->polygonalApproxAccuracyRate = 0.03;*/
|
||||
parameters->polygonalApproxAccuracyRate = 0.03;
|
||||
|
||||
this->readCameraParameters(calibrationPath);
|
||||
|
||||
|
||||
@@ -58,6 +58,8 @@ int main(int argc, char *argv[])
|
||||
|
||||
client.sendMessage("aruco;strat;ready;1");
|
||||
|
||||
usleep(500'000);
|
||||
|
||||
while (true) {
|
||||
auto r = detector.detectArucoTags({whiteFlower, purpleFlower, solarPanel});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user