Commit 6c3d8d0f authored by oscar's avatar oscar

提交更新

parent ab8be830
......@@ -450,15 +450,15 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
float bottom_center_y = float(y2);
float x = 0.0f;
float y = 0.0f;
if (i = 0)
if (i == 0)
{
get_camera_tolidar_loc(bottom_center_x, bottom_center_y, x, y);
}
else if (i = 1)
else if (i == 1)
{
get_camera_right_tolidar_loc(bottom_center_x, bottom_center_y, x, y);
}
else if (i = 2)
else if (i == 2)
{
get_camera_left_tolidar_loc(bottom_center_x, bottom_center_y, x, y);
}
......
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