send the position of the tag in the robot xyz base

This commit is contained in:
ackimixs
2024-04-10 11:44:54 +02:00
parent b25a0e7057
commit d5489ff2b2
6 changed files with 13 additions and 58 deletions

View File

@@ -54,9 +54,7 @@ int main(int argc, char *argv[])
userInput = std::thread(userInputThread);
}
auto* robotPose = new Type::RobotPose{cv::Point3f(500, 0, 500), -CV_PI/2};
ArucoDetector detector(robotPose, calibrationPath, BLUE, headless);
ArucoDetector detector(calibrationPath, BLUE, headless);
auto whiteFlower = ArucoTag(36, "White_flower", 19.6, FLOWER);
whiteFlower.setFlowerObjectRepresentation();
@@ -69,7 +67,7 @@ int main(int argc, char *argv[])
int port = std::stoi(argv[2]);
MyClient client(robotPose, "127.0.0.1", port);
MyClient client("127.0.0.1", port);
client.start();