Commit a7df0527 authored by oscar's avatar oscar

提交更新

parent 255c80b4
......@@ -439,7 +439,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
}
else
continue;
if(_GET_VALID_VALUE(0, m_recvMsgBit))
if(_GET_VALID_VALUE((unsigned char)0, m_recvMsgBit))
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());
......@@ -556,7 +556,7 @@ void TrackingRos::TrackingCameraCallBackFunc(const jfx_common_msgs::InferResesCo
//objMsg.type = 7;
//SDK_LOG(SDK_INFO, "camera 1,2 x = %f,y = %f", objMsg.x, objMsg.y);
}
if (_GET_VALID_VALUE(i+1, m_recvMsgBit))
if (_GET_VALID_VALUE((unsigned char)(i+1), m_recvMsgBit))
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