Commit 63678e8f authored by oscar's avatar oscar

提交更新

parent 133aad36
......@@ -160,7 +160,8 @@ void get_camera_tolidar_loc(float u, float v, float& x, float& y)
std::vector<cv::Point2f> outputUndistortedPoints;
inputDistortedPoints.push_back(cv::Point2f(u, v));
cv::undistortPoints(inputDistortedPoints, outputUndistortedPoints, cameraMatrix, distCoeffs);
if(outputUndistortedPoints.size() > 0)
SDK_LOG(SDK_INFO, "outputUndistortedPoints size = %d, x = %f,y = %f", outputUndistortedPoints.size(), outputUndistortedPoints[0].x, outputUndistortedPoints[0].y);
}
TrackingRos::~TrackingRos()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment