Commit c87f2a67 authored by oscar's avatar oscar

提交修改

parent a212a54a
......@@ -439,8 +439,11 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
else
continue;
if(_GET_VALID_VALUE((unsigned char)0, m_recvMsgBit))
if (_GET_VALID_VALUE((unsigned char)0, m_recvMsgBit))
{
SDK_LOG(SDK_INFO, "send cloud obj x = %f, y = %f",obj.x,obj.y);
objsPtr->array.push_back(obj);
}
}
//SDK_LOG(SDK_INFO, "camera msg [0] size = %d,[1] = %d,[2] = %d",msg->reses[0].results.size(), msg->reses[1].results.size(), msg->reses[2].results.size());
for (int i = 0; i < 3; i++)
......@@ -560,10 +563,13 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
if (i == 1 || i == 2)
{
//objMsg.type = 7;
SDK_LOG(SDK_INFO, "camera 1,2 x = %f,y = %f", objMsg.x, objMsg.y);
//SDK_LOG(SDK_INFO, "camera 1,2 x = %f,y = %f", objMsg.x, objMsg.y);
}
if (_GET_VALID_VALUE((unsigned char)(i+1), m_recvMsgBit))
if (_GET_VALID_VALUE((unsigned char)(i + 1), m_recvMsgBit))
{
SDK_LOG(SDK_INFO, "send camera i = %d, x = %f,y = %f",i, objMsg.x, objMsg.y);
objsPtr->array.push_back(objMsg);
}
}
}
}
......
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