From 6b700a0d6d87be1b5e4268c1f7b516f7aaa40922 Mon Sep 17 00:00:00 2001 From: ackimixs Date: Wed, 10 Apr 2024 13:41:54 +0200 Subject: [PATCH] remove TODO and did it inside the Server --- aruco/ArucoDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aruco/ArucoDetector.cpp b/aruco/ArucoDetector.cpp index 12073a8..bfc2ca8 100644 --- a/aruco/ArucoDetector.cpp +++ b/aruco/ArucoDetector.cpp @@ -204,7 +204,7 @@ std::pair>>> Ar cv::Mat rotaEuler = (cv::Mat_(3, 1) << roll, pitch, yaw); // Apply the homogeneous transformation to tvec - cv::Mat translat = (cv::Mat_(4, 1) << tvec.at(2, 0) + 91/* TODO camera is not at the center*/ /* TODO la pince n'est pas au millieu non plus*/, tvec.at(1, 0) /* + TODO HAUTEUR CAMERA */, (tvec.at(0, 0)), 1); + cv::Mat translat = (cv::Mat_(4, 1) << tvec.at(2, 0), tvec.at(1, 0), (tvec.at(0, 0)), 1); result.second.emplace_back(tag, std::make_pair(translat, rotaEuler)); }