Commit 137d07d0 authored by oscar's avatar oscar

提交更新

parent 95709db4
......@@ -503,8 +503,8 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
bottom_center_x = x1 + (bottom_center_x / 1920) * (x2 - x1);
if (m_camera_one_center_type == 2)
bottom_center_y = (float(y1) + float(y2)) / 2;
else if (m_camera_one_center_type == 1)
bottom_center_y -= (y2 - y1) / 4 * (abs(bottom_center_x - 960) / 960);
//else if (m_camera_one_center_type == 1)
// bottom_center_y -= (y2 - y1) / 4 * (abs(bottom_center_x - 960) / 960);
get_camera_tolidar_loc(bottom_center_x, bottom_center_y, x, y);
}
else if (i == 1)
......
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