remove unused things

This commit is contained in:
ackimixs
2024-04-10 13:42:58 +02:00
parent 6b700a0d6d
commit 2197ba4437
2 changed files with 2 additions and 3 deletions

View File

@@ -204,9 +204,8 @@ std::pair<int, std::vector<std::pair<ArucoTag, std::pair<cv::Mat, cv::Mat>>>> Ar
cv::Mat rotaEuler = (cv::Mat_<double>(3, 1) << roll, pitch, yaw);
// Apply the homogeneous transformation to tvec
cv::Mat translat = (cv::Mat_<double>(4, 1) << tvec.at<double>(2, 0), tvec.at<double>(1, 0), (tvec.at<double>(0, 0)), 1);
result.second.emplace_back(tag, std::make_pair(translat, rotaEuler));
result.second.emplace_back(tag, std::make_pair(tvec, rotaEuler));
}
}

View File

@@ -25,8 +25,8 @@ void MyClient::handleMessage(const std::string& message)
{
res += std::to_string(tag.id) + ",";
res += tag.name + ",";
res += std::to_string(pos.first.at<double>(0, 0)) + ",";
res += std::to_string(pos.first.at<double>(2, 0)) + ",";
res += std::to_string(pos.first.at<double>(0, 0)) + ",";
res += std::to_string(pos.second.at<double>(0, 0)) + ",";
res += std::to_string(pos.second.at<double>(1, 0)) + ",";
res += std::to_string(pos.second.at<double>(2, 0)) + ",";