Commit 918d5060 authored by oscar's avatar oscar

提交更新

parent 04a20389
......@@ -543,6 +543,10 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
if (duplicate == 0)
{
if (i == 1 || i == 2)
{
SDK_LOG(SDK_INFO, "camera 1,2 x = %f,y = %f", objMsg.x, objMsg.y);
}
objsPtr->array.push_back(objMsg);
}
}
......@@ -763,9 +767,9 @@ void TrackingRos::ThreadTrackingProcess()
box.pose.orientation.z = R_quat.z();
//SDK_LOG(SDK_INFO, "rot_y_angle = %f", rot_y_angle);
box.pose.orientation.w = R_quat.w();
if (rot_y_angle == 0)
if (obj.x < 0)
{
SDK_LOG(SDK_INFO, "sendbox x = %f,y = %f",obj.x,obj.y);
SDK_LOG(SDK_INFO, "sendbox========================= x = %f,y = %f",obj.x,obj.y);
}
sendBoxes.boxes.emplace_back(box);
sendObjs.array.emplace_back(obj);
......
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