mirror of
https://github.com/modelec/detection_pot.git
synced 2026-03-29 19:59:51 +02:00
remove unused things
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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)) + ",";
|
||||
|
||||
Reference in New Issue
Block a user